mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-24 17:37:40 +06:00
monsgeek/m5: make numlock and capslock LEDs work (#24027)
This commit is contained in:
parent
c2f7974c8e
commit
977918982d
|
@ -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 New Issue
Block a user