fix(pm): Use Zephyr created device slots.

* Avoid overwriting random memory by using
  iterable section created by Zephyr PM.
This commit is contained in:
Peter Johanson
2024-03-25 09:37:14 +00:00
committed by Pete Johanson
parent d0e0ecb4e3
commit 41d81801ed
3 changed files with 3 additions and 16 deletions

View File

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