Skip to content

Commit 5cc9079

Browse files
committed
power management
1 parent 6014fba commit 5cc9079

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

config/34.dtsi

+3-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
#define ENTER &hp LGUI RET
5353

5454
#define BT(k1) &bt BT_SEL k1
55-
#define BTC &bt BT_CLR
55+
#define BTC &bt BT_CLR_ALL
56+
#define EP &ext_power EP_TOG
5657

5758
#define BOOT &bootloader
5859

@@ -197,7 +198,7 @@
197198
//+---------+---------+---------+------+---------+/* */+------------+---------+---------+-----------+-----------+
198199
BTC &none &none &none BT(0) /* */ &none &none &none UG(RGB_EFF) UG(RGB_TOG)
199200
//+---------+---------+---------+------+---------+/* */+------------+---------+---------+-----------+-----------+
200-
&none BOOT &none &none BT(1) /* */ &out OUT_USB &none &none &none UG(RGB_BRI)
201+
&none BOOT &soft_off &none BT(1) /* */ &out OUT_USB &none EP &none UG(RGB_BRI)
201202
//+---------+---------+---------+------+---------+/* */+------------+---------+---------+-----------+-----------+
202203
&none &none &none &none BT(2) /* */ &out OUT_BLE &none &none &none UG(RGB_BRD)
203204
//+---------+---------+---------+------+---------+/* */+------------+---------+---------+-----------+-----------+

0 commit comments

Comments
 (0)