summaryrefslogtreecommitdiffstats
path: root/keyboards/kprepublic/bm60hsrgb_iso
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kprepublic/bm60hsrgb_iso')
-rw-r--r--keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c b/keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c
index 7144db99ef..9ea82691e2 100644
--- a/keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c
+++ b/keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c
@@ -131,11 +131,14 @@ led_config_t g_led_config = { {
# endif
} };
-__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(28, 0xFF, 0xFF, 0xFF);
}
+ return true;
}
// clang-format on