mirror of
https://github.com/qmk/qmk_firmware
synced 2024-12-22 16:36:58 +00:00
Fix indicator code for NK classics (#24462)
Fix indicator code Co-authored-by: yiancar <yiancar@gmail.com>
This commit is contained in:
parent
1a284f2b92
commit
c0d57a6826
@ -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++) {
|
for (uint8_t i = 50; i <= 55; i++) {
|
||||||
rgb_matrix_set_color(i, 255, 86, 0);
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -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++) {
|
for (uint8_t i = 50; i <= 55; i++) {
|
||||||
rgb_matrix_set_color(i, 255, 86, 0);
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user