diff options
author | jack <0x6A73@pm.me> | 2022-11-20 14:30:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-20 14:30:40 +0000 |
commit | 6c40a4605793d29d1bae07401006287300c8349d (patch) | |
tree | ddbce65b2292ee02f40e188d13e3527d0fe28a7a /keyboards/keychron/q5/q5.c | |
parent | 543a863766192eab626492ec4f48641743ffc797 (diff) |
Fixup keychron/q5 (#19119)
Diffstat (limited to 'keyboards/keychron/q5/q5.c')
-rw-r--r-- | keyboards/keychron/q5/q5.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/keychron/q5/q5.c b/keyboards/keychron/q5/q5.c index d1127d1908..f1ccf48214 100644 --- a/keyboards/keychron/q5/q5.c +++ b/keyboards/keychron/q5/q5.c @@ -69,7 +69,8 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) { return true; } -__attribute__((weak)) void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { +bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { + if (!rgb_matrix_indicators_advanced_user(led_min, led_max)) { return false; } // RGB_MATRIX_INDICATOR_SET_COLOR(index, red, green, blue); # if defined(CAPS_LOCK_LED_INDEX) if (host_keyboard_led_state().caps_lock) { @@ -89,6 +90,7 @@ __attribute__((weak)) void rgb_matrix_indicators_advanced_user(uint8_t led_min, } } # endif // NUM_LOCK_LED_INDEX + return true; } #endif // RGB_MATRIX_ENABLE... |