From f67150f16cb0e5bc71dc3320750ff96ba99e96dc Mon Sep 17 00:00:00 2001 From: lokher Date: Thu, 22 Sep 2022 17:33:56 +0800 Subject: refactor indicator.c; fix LED/RGB_MATRIX_BRIGHTNESS_TURN_OFF_VAL related issue --- keyboards/keychron/bluetooth/bluetooth.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/keychron/bluetooth/bluetooth.c') diff --git a/keyboards/keychron/bluetooth/bluetooth.c b/keyboards/keychron/bluetooth/bluetooth.c index 10c79257a9..e93fd8d4ac 100644 --- a/keyboards/keychron/bluetooth/bluetooth.c +++ b/keyboards/keychron/bluetooth/bluetooth.c @@ -432,10 +432,12 @@ bluetooth_state_t bluetooth_get_state(void) { return bt_state; }; +__attribute__((weak)) bool process_record_kb_bt(uint16_t keycode, keyrecord_t *record) { return true;}; + bool process_record_kb(uint16_t keycode, keyrecord_t *record) { if (get_transport() == TRANSPORT_BLUETOOTH) { lpm_timer_reset(); } - + process_record_kb_bt(keycode, record); return process_record_user(keycode, record); } -- cgit v1.2.3