Fix Per Key LED Indicator Callbacks (#18450)

Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Drashna Jaelre 2022-10-04 15:24:22 -07:00 committed by GitHub
parent 09d3e27710
commit 64b1ed4550
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
218 changed files with 1430 additions and 1271 deletions

View file

@ -591,7 +591,7 @@ void set_led_scale_indicator(uint8_t r, uint8_t g, uint8_t b) {
}
}
void rgb_matrix_indicators_user(void) {
bool rgb_matrix_indicators_user(void) {
// uint32_t mode = rgblight_get_mode();
if (rgb_matrix_is_enabled()) { // turn the lights on when it is enabled.
@ -691,5 +691,6 @@ void rgb_matrix_indicators_user(void) {
break;
}
}
return false;
}
#endif // RGB_MATRIX_ENABLE

View file

@ -594,7 +594,7 @@ void set_led_scale_indicator(uint8_t r, uint8_t g, uint8_t b) {
}
}
void rgb_matrix_indicators_user(void) {
bool rgb_matrix_indicators_user(void) {
// uint32_t mode = rgblight_get_mode();
if (rgb_matrix_is_enabled()) { // turn the lights on when it is enabled.
@ -694,5 +694,6 @@ void rgb_matrix_indicators_user(void) {
break;
}
}
return false;
}
#endif // RGB_MATRIX_ENABLE

View file

@ -245,7 +245,7 @@ void set_led_scale_indicator(uint8_t r, uint8_t g, uint8_t b) {
}
}
void rgb_matrix_indicators_user(void) {
bool rgb_matrix_indicators_user(void) {
// uint32_t mode = rgblight_get_mode();
if (rgb_matrix_is_enabled()) { // turn the lights on when it is enabled.
@ -280,5 +280,6 @@ void rgb_matrix_indicators_user(void) {
break;
}
}
return false;
}
#endif // RGB_MATRIX_ENABLE