aboutsummaryrefslogtreecommitdiff
path: root/keyboards/monsgeek
diff options
context:
space:
mode:
authorGuanzhong Chen <[email protected]>2024-07-03 22:38:38 -0400
committerGitHub <[email protected]>2024-07-03 20:38:38 -0600
commit977918982d0ee38ade3eeb178ca572645d0f9553 (patch)
treec653744f81bab3087f9d2638fe80218896aef8d9 /keyboards/monsgeek
parentc2f7974c8eb5154c5a79c74150fc934086175024 (diff)
downloadqmk_firmware-977918982d0ee38ade3eeb178ca572645d0f9553.tar.gz
qmk_firmware-977918982d0ee38ade3eeb178ca572645d0f9553.zip
monsgeek/m5: make numlock and capslock LEDs work (#24027)
Diffstat (limited to 'keyboards/monsgeek')
-rw-r--r--keyboards/monsgeek/m5/m5.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboards/monsgeek/m5/m5.c b/keyboards/monsgeek/m5/m5.c
index 3e1d752581..5113e322a5 100644
--- a/keyboards/monsgeek/m5/m5.c
+++ b/keyboards/monsgeek/m5/m5.c
@@ -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;