monsgeek/m5: make numlock and capslock LEDs work (#24027)
This commit is contained in:
parent
c2f7974c8e
commit
977918982d
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ void keyboard_pre_init_kb(void) {
|
|||
bool led_update_kb(led_t led_state) {
|
||||
bool res = led_update_user(led_state);
|
||||
if (res) {
|
||||
led_update_ports(led_state);
|
||||
gpio_write_pin(LED_WIN_LOCK_PIN, keymap_config.no_gui);
|
||||
}
|
||||
return res;
|
||||
|
|
Loading…
Reference in a new issue