summaryrefslogtreecommitdiff
path: root/keyboards/xbows/ranger/ranger.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xbows/ranger/ranger.c')
-rw-r--r--keyboards/xbows/ranger/ranger.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/keyboards/xbows/ranger/ranger.c b/keyboards/xbows/ranger/ranger.c
index c4b0e54544..4c141cc5d3 100644
--- a/keyboards/xbows/ranger/ranger.c
+++ b/keyboards/xbows/ranger/ranger.c
@@ -137,10 +137,14 @@ led_config_t g_led_config = { {
};
// clang-format on
-__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(48, 0xFF, 0xFF, 0xFF);
}
+ return true;
}
#endif