chore: Various soft-off review fixes
* Code style to avoid goto. * Enable pm.c compilation via dedicated Kconfig flag. * Comment wakeup trigger PM behavior.
This commit is contained in:
parent
fceb0351a5
commit
5ebe924e94
6 changed files with 26 additions and 12 deletions
|
|
@ -423,8 +423,12 @@ config ZMK_EXT_POWER
|
|||
bool "Enable support to control external power output"
|
||||
default y
|
||||
|
||||
config ZMK_PM
|
||||
bool
|
||||
|
||||
config ZMK_PM_SOFT_OFF
|
||||
bool "Soft-off support"
|
||||
select ZMK_PM
|
||||
select PM_DEVICE
|
||||
|
||||
config ZMK_GPIO_KEY_WAKEUP_TRIGGER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue