summaryrefslogtreecommitdiffstats
path: root/keyboards/xbows/knight_plus
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xbows/knight_plus')
-rw-r--r--keyboards/xbows/knight_plus/knight_plus.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/keyboards/xbows/knight_plus/knight_plus.c b/keyboards/xbows/knight_plus/knight_plus.c
index bdf862dbe4..2c377aaf51 100644
--- a/keyboards/xbows/knight_plus/knight_plus.c
+++ b/keyboards/xbows/knight_plus/knight_plus.c
@@ -135,10 +135,14 @@
} };
- __attribute__ ((weak)) void rgb_matrix_indicators_user(void) {
+bool rgb_matrix_indicators_kb(void) {
+ if (!rgb_matrix_indicators_user()) {
+ return false;
+ }
if (host_keyboard_led_state().caps_lock) {
rgb_matrix_set_color(44, 0xFF, 0xFF, 0xFF);
}
+ return true;
}
#endif