Fix indicator code for NK classics (#24462)

Fix indicator code

Co-authored-by: yiancar <yiancar@gmail.com>
This commit is contained in:
yiancar 2024-10-08 19:51:23 +01:00 committed by GitHub
parent 1a284f2b92
commit c0d57a6826
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -43,6 +43,10 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
for (uint8_t i = 50; i <= 55; i++) {
rgb_matrix_set_color(i, 255, 86, 0);
}
} else if ((rgb_matrix_get_mode() == RGB_MATRIX_TYPING_HEATMAP) || (rgb_matrix_get_mode() == RGB_MATRIX_DIGITAL_RAIN)) {
for (uint8_t i = 50; i <= 55; i++) {
rgb_matrix_set_color(i, 0, 0, 0);
}
}
return false;
}

View File

@ -43,6 +43,10 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
for (uint8_t i = 50; i <= 55; i++) {
rgb_matrix_set_color(i, 255, 86, 0);
}
} else if ((rgb_matrix_get_mode() == RGB_MATRIX_TYPING_HEATMAP) || (rgb_matrix_get_mode() == RGB_MATRIX_DIGITAL_RAIN)) {
for (uint8_t i = 50; i <= 55; i++) {
rgb_matrix_set_color(i, 0, 0, 0);
}
}
return false;
}