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

@@ -35,10 +35,9 @@ encoder: &qdec0 {
/ {
behaviors {
soft_off: soft_off {
hw_soft_off: hw_soft_off {
compatible = "zmk,behavior-soft-off";
#binding-cells = <0>;
status = "okay";
};
};
@@ -54,7 +53,7 @@ encoder: &qdec0 {
soft_off {
row = <0>;
column = <0>;
bindings = <&soft_off>;
bindings = <&hw_soft_off>;
};
};