forked from kofal.net/zmk
fix(pm): Restore sleep suspension of devices.
* After the move to `sys_poweroff`, restore the behavior of suspending devices before entering sleep state.
This commit is contained in:
committed by
Pete Johanson
parent
1d83f279cd
commit
50a303b8bb
@@ -8,6 +8,10 @@ set(ZEPHYR_EXTRA_MODULES "${ZMK_EXTRA_MODULES};${CMAKE_CURRENT_SOURCE_DIR}/modul
|
||||
find_package(Zephyr REQUIRED HINTS ../zephyr)
|
||||
project(zmk)
|
||||
|
||||
if(CONFIG_ZMK_SLEEP)
|
||||
zephyr_linker_sources(SECTIONS include/linker/zmk-pm-devices.ld)
|
||||
endif()
|
||||
|
||||
zephyr_linker_sources(SECTIONS include/linker/zmk-behaviors.ld)
|
||||
zephyr_linker_sources(RODATA include/linker/zmk-events.ld)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user