- pm_states[PM_SUSPEND_MAX] suggests to support "standby" and not "suspend"
Thanks to Paulius Zaleckas for mentioning this.
This commit is contained in:
parent
b8e653bfbf
commit
9af7aba579
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#define SYS_RTC_PATH "/sys/class/rtc/%s/device/power/wakeup"
|
#define SYS_RTC_PATH "/sys/class/rtc/%s/device/power/wakeup"
|
||||||
#define SYS_POWER_PATH "/sys/power/state"
|
#define SYS_POWER_PATH "/sys/power/state"
|
||||||
#define DEFAULT_MODE "suspend"
|
#define DEFAULT_MODE "standby"
|
||||||
|
|
||||||
static time_t rtc_time;
|
static time_t rtc_time;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user