summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/k8_pro/k8_pro.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/k8_pro/k8_pro.c')
-rw-r--r--keyboards/keychron/k8_pro/k8_pro.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/keyboards/keychron/k8_pro/k8_pro.c b/keyboards/keychron/k8_pro/k8_pro.c
index d6ae6a649f..f8b4f6d99e 100644
--- a/keyboards/keychron/k8_pro/k8_pro.c
+++ b/keyboards/keychron/k8_pro/k8_pro.c
@@ -234,21 +234,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) {