diff options
author | lokher <lokher@gmail.com> | 2023-01-12 15:50:37 +0800 |
---|---|---|
committer | lokher <lokher@gmail.com> | 2023-01-12 15:50:37 +0800 |
commit | a0d162e03ae1301c64a04b04264b53d0787c1358 (patch) | |
tree | adb31f18f533845f83011de41423b1c01a511c1c /keyboards/keychron/k3_pro/k3_pro.c | |
parent | bbe437487d4da158376a9f55c589acebc3396ff0 (diff) |
change battery voltage meause and battery low indication; update from latest chibios hal
Diffstat (limited to 'keyboards/keychron/k3_pro/k3_pro.c')
-rw-r--r-- | keyboards/keychron/k3_pro/k3_pro.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/keyboards/keychron/k3_pro/k3_pro.c b/keyboards/keychron/k3_pro/k3_pro.c index 3c345d2e42..08412fb9ab 100644 --- a/keyboards/keychron/k3_pro/k3_pro.c +++ b/keyboards/keychron/k3_pro/k3_pro.c @@ -232,21 +232,6 @@ void bluetooth_pre_task(void) { } } } - -void battery_measure(void) { -# ifdef LED_MATRIX_ENABLE - if (led_matrix_is_enabled()) { - ckbt51_read_state_reg(0x05, 0x02); - return; - } -# endif -# ifdef RGB_MATRIX_ENABLE - if (rgb_matrix_is_enabled()) { - ckbt51_read_state_reg(0x05, 0x02); - return; - } -# endif -} #endif void battery_calculte_voltage(uint16_t value) { |