summaryrefslogtreecommitdiff
path: root/keyboards/massdrop/ctrl/config_led.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/massdrop/ctrl/config_led.c')
-rw-r--r--keyboards/massdrop/ctrl/config_led.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/keyboards/massdrop/ctrl/config_led.c b/keyboards/massdrop/ctrl/config_led.c
index bd708c2cb8..50daa68e75 100644
--- a/keyboards/massdrop/ctrl/config_led.c
+++ b/keyboards/massdrop/ctrl/config_led.c
@@ -73,8 +73,12 @@ led_config_t g_led_config = { {
#ifdef USB_LED_INDICATOR_ENABLE
-void rgb_matrix_indicators_advanced_kb(uint8_t led_min, uint8_t led_max) {
+bool rgb_matrix_indicators_advanced_kb(uint8_t led_min, uint8_t led_max) {
+ if (!rgb_matrix_indicators_advanced_user(led_min, led_max)) {
+ return false;
+ }
md_rgb_matrix_indicators_advanced(led_min, led_max);
+ return true;
}
#endif // USB_LED_INDICATOR_ENABLE