mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 09:56:54 +06:00
Fixed gpio controlled caps lock LED is cleared incorrectly in wireless mode after factory reset
This commit is contained in:
parent
6aa63c3c63
commit
dda14805a1
|
@ -244,7 +244,8 @@ static void wireless_enter_disconnected(uint8_t host_idx) {
|
||||||
|
|
||||||
uint8_t previous_state = wireless_state;
|
uint8_t previous_state = wireless_state;
|
||||||
led_state = 0;
|
led_state = 0;
|
||||||
led_update_kb((led_t)led_state);
|
if (get_transport() & TRANSPORT_WIRELESS)
|
||||||
|
led_update_kb((led_t)led_state);
|
||||||
|
|
||||||
wireless_state = WT_DISCONNECTED;
|
wireless_state = WT_DISCONNECTED;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user