summaryrefslogtreecommitdiffstats
path: root/keyboards/tkc/portico68v2/portico68v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/tkc/portico68v2/portico68v2.c')
-rw-r--r--keyboards/tkc/portico68v2/portico68v2.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/keyboards/tkc/portico68v2/portico68v2.c b/keyboards/tkc/portico68v2/portico68v2.c
index 6022d5674f..32c8f50894 100644
--- a/keyboards/tkc/portico68v2/portico68v2.c
+++ b/keyboards/tkc/portico68v2/portico68v2.c
@@ -128,7 +128,10 @@ led_config_t g_led_config = {
}
};
-void rgb_matrix_indicators_kb(void) {
+bool rgb_matrix_indicators_kb(void) {
+ if (!rgb_matrix_indicators_user()) {
+ return false;
+ }
if (host_keyboard_led_state().caps_lock) {
for (uint8_t i = 0; i < DRIVER_1_LED_TOTAL; i++) {
rgb_matrix_set_color(i, 0xFF, 0xFF, 0xFF);
@@ -141,5 +144,6 @@ void rgb_matrix_indicators_kb(void) {
}
}
}
+ return true;
}
#endif