From 5cc9079b7f237b081fa7200033b46f44d415cdf9 Mon Sep 17 00:00:00 2001 From: dcai Date: Fri, 5 Apr 2024 09:53:57 +1100 Subject: [PATCH] power management --- config/34.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/34.dtsi b/config/34.dtsi index be614ea..ddd8dae 100644 --- a/config/34.dtsi +++ b/config/34.dtsi @@ -52,7 +52,8 @@ #define ENTER &hp LGUI RET #define BT(k1) &bt BT_SEL k1 -#define BTC &bt BT_CLR +#define BTC &bt BT_CLR_ALL +#define EP &ext_power EP_TOG #define BOOT &bootloader @@ -197,7 +198,7 @@ //+---------+---------+---------+------+---------+/* */+------------+---------+---------+-----------+-----------+ BTC &none &none &none BT(0) /* */ &none &none &none UG(RGB_EFF) UG(RGB_TOG) //+---------+---------+---------+------+---------+/* */+------------+---------+---------+-----------+-----------+ - &none BOOT &none &none BT(1) /* */ &out OUT_USB &none &none &none UG(RGB_BRI) + &none BOOT &soft_off &none BT(1) /* */ &out OUT_USB &none EP &none UG(RGB_BRI) //+---------+---------+---------+------+---------+/* */+------------+---------+---------+-----------+-----------+ &none &none &none &none BT(2) /* */ &out OUT_BLE &none &none &none UG(RGB_BRD) //+---------+---------+---------+------+---------+/* */+------------+---------+---------+-----------+-----------+