Skip to content

Commit

Permalink
fix(pm): Tweaks for deep sleep/PM.
Browse files Browse the repository at this point in the history
* Restore enabling of PM_DEVICE, make ZMK_SLEEP work with
  the ZMK Uno shield on nrf52840dk_nrf52840 board.
  • Loading branch information
petejohanson committed Feb 8, 2024
1 parent 09d8e05 commit 4254df8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,9 @@ config ZMK_SLEEP

if ZMK_SLEEP

config PM_DEVICE
default y

config ZMK_IDLE_SLEEP_TIMEOUT
int "Milliseconds of inactivity before entering deep sleep"
default 900000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ encoder: &qdec0 {
led-pre = <0>;
steps = <80>;
pinctrl-0 = <&qdec_default>;
pinctrl-names = "default";
pinctrl-1 = <&qdec_default>;
pinctrl-names = "default", "sleep";
};

0 comments on commit 4254df8

Please sign in to comment.