Fix intermittent flashing of LED when typing quickly

This commit is contained in:
Dejvino 2023-10-22 06:01:04 +02:00
parent 2268816111
commit 5b697beacb

View File

@ -153,6 +153,11 @@ int capslock = 0;
int numlock = 0; int numlock = 0;
bool led_update_user(led_t led_state) { bool led_update_user(led_t led_state) {
// Following disables the default LED indicators:
return false;
}
bool led_update_kb(led_t led_state) {
numlock = led_state.num_lock; numlock = led_state.num_lock;
capslock = led_state.caps_lock; capslock = led_state.caps_lock;
// Following disables the default LED indicators: // Following disables the default LED indicators: