forked from kofal.net/zmk
refactor: Move to new sys_poweroff API.
* Move to new `sys_poweroff` API for our deep sleep functionality.
This commit is contained in:
committed by
Pete Johanson
parent
b6d9f3c911
commit
98e3b8b435
@@ -387,13 +387,12 @@ config ZMK_IDLE_TIMEOUT
|
||||
|
||||
config ZMK_SLEEP
|
||||
bool "Enable deep sleep support"
|
||||
depends on HAS_POWEROFF
|
||||
select POWEROFF
|
||||
imply USB
|
||||
|
||||
if ZMK_SLEEP
|
||||
|
||||
config PM_DEVICE
|
||||
default y
|
||||
|
||||
config ZMK_IDLE_SLEEP_TIMEOUT
|
||||
int "Milliseconds of inactivity before entering deep sleep"
|
||||
default 900000
|
||||
|
||||
Reference in New Issue
Block a user