From a0d162e03ae1301c64a04b04264b53d0787c1358 Mon Sep 17 00:00:00 2001 From: lokher Date: Thu, 12 Jan 2023 15:50:37 +0800 Subject: change battery voltage meause and battery low indication; update from latest chibios hal --- keyboards/keychron/k3_pro/k3_pro.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'keyboards/keychron/k3_pro/k3_pro.c') 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) { -- cgit v1.2.3