Invert Num Lock LED state (#7945)
This commit is contained in:
parent
e3d59a72f9
commit
61dbb92679
@ -30,7 +30,7 @@ void led_init_ports(void) {
|
|||||||
|
|
||||||
bool led_update_kb(led_t led_state) {
|
bool led_update_kb(led_t led_state) {
|
||||||
if (led_update_user(led_state)) {
|
if (led_update_user(led_state)) {
|
||||||
writePin(D0, !led_state.num_lock);
|
writePin(D0, led_state.num_lock);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user