fix(pm): Fixes for dedicated on/off on peripherals.

* Add new flag to differentiate soft off on peripherals that
  is invoked by split GATT svc and dedicated additional ones
  tied to GPIO pin.
This commit is contained in:
Peter Johanson
2024-03-25 02:39:54 -07:00
committed by Pete Johanson
parent 41d81801ed
commit 7e7110d85f
4 changed files with 19 additions and 9 deletions

View File

@@ -6,9 +6,10 @@
/ {
behaviors {
/omit-if-no-ref/ soft_off: soft_off {
/omit-if-no-ref/ soft_off: keymap_soft_off {
compatible = "zmk,behavior-soft-off";
#binding-cells = <0>;
split-peripheral-off-on-press;
};
};
};