fix: caps lock indicator doesn't work on layer 1

This commit is contained in:
Florian Didron
2021-07-08 16:25:05 +09:00
parent dde6439257
commit bd00ce2d6a

View File

@@ -477,8 +477,8 @@ void matrix_scan_kb(void) {
}
else {
uint8_t layer = get_highest_layer(layer_state);
if(layer != 1) {
ergodox_right_led_3_off();
if(layer != 3) {
ergodox_right_led_3_off();
}
}
#endif