Hi! Thanks for the great library! I resolved compilation error with ATmega168 by guarding powerExtStandby() method declaration and definition with preprocessor symbol SLEEP_MODE_EXT_STANDBY because ATmega168 doesn't support Extended Standby anyway. I also added check for other ATmega168 variants so users will be able to use this library with these MCUs (including Ext Standby for P devices).
Related issues #14, #29.
Hi! Thanks for the great library! I resolved compilation error with ATmega168 by guarding powerExtStandby() method declaration and definition with preprocessor symbol SLEEP_MODE_EXT_STANDBY because ATmega168 doesn't support Extended Standby anyway. I also added check for other ATmega168 variants so users will be able to use this library with these MCUs (including Ext Standby for P devices). Related issues #14, #29.