monsgeek/m5: make numlock and capslock LEDs work (#24027)

This commit is contained in:
Guanzhong Chen 2024-07-03 22:38:38 -04:00 committed by GitHub
parent c2f7974c8e
commit 977918982d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;