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:
Peter Johanson
2024-02-09 18:50:06 +00:00
committed by Pete Johanson
parent 1d83f279cd
commit 50a303b8bb
3 changed files with 79 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
/*
* Copyright (c) 2023 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#include <zephyr/linker/linker-defs.h>
ITERABLE_SECTION_RAM(zmk_pm_device_slots, 4)