aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/CMakeLists.txt
diff options
context:
space:
mode:
authorPete Johanson <[email protected]>2023-12-29 15:03:14 -0800
committerPete Johanson <[email protected]>2024-03-27 20:59:26 -0700
commit5ebe924e941ba00e81d1c66ad2333e6a73826754 (patch)
tree01b8ec6322ab6142b2e3013bc9bf3e000163effc /app/CMakeLists.txt
parentfceb0351a58622e7a89a649efdb387c1c2ea2df1 (diff)
downloadzmk-5ebe924e941ba00e81d1c66ad2333e6a73826754.tar.gz
zmk-5ebe924e941ba00e81d1c66ad2333e6a73826754.zip
chore: Various soft-off review fixes
* Code style to avoid goto. * Enable pm.c compilation via dedicated Kconfig flag. * Comment wakeup trigger PM behavior.
Diffstat (limited to 'app/CMakeLists.txt')
-rw-r--r--app/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt
index 908800db7d..a56a63b369 100644
--- a/app/CMakeLists.txt
+++ b/app/CMakeLists.txt
@@ -31,7 +31,7 @@ target_sources_ifdef(CONFIG_ZMK_WPM app PRIVATE src/wpm.c)
target_sources(app PRIVATE src/event_manager.c)
target_sources_ifdef(CONFIG_ZMK_GPIO_KEY_BEHAVIOR_TRIGGER app PRIVATE src/gpio_key_behavior_trigger.c)
target_sources_ifdef(CONFIG_ZMK_GPIO_SCANNED_KEY_BEHAVIOR_TRIGGER app PRIVATE src/gpio_scanned_key_behavior_trigger.c)
-target_sources_ifdef(CONFIG_ZMK_PM_SOFT_OFF app PRIVATE src/pm.c)
+target_sources_ifdef(CONFIG_ZMK_PM app PRIVATE src/pm.c)
target_sources_ifdef(CONFIG_ZMK_EXT_POWER app PRIVATE src/ext_power_generic.c)
target_sources_ifdef(CONFIG_ZMK_GPIO_KEY_WAKEUP_TRIGGER app PRIVATE src/gpio_key_wakeup_trigger.c)
target_sources(app PRIVATE src/events/activity_state_changed.c)