mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
nullbitsco/snap: fix broken keymaps (#21877)
This commit is contained in:
parent
4b1aa1640c
commit
81ea4f9110
|
@ -92,7 +92,7 @@ static void render_status(void) {
|
|||
|
||||
// Only update if the LED state has changed
|
||||
// Otherwise, the OLED will not turn off if an LED is on.
|
||||
if (persistent_led_state != led_state) {
|
||||
if (persistent_led_state.raw != led_state.raw) {
|
||||
persistent_led_state = led_state;
|
||||
|
||||
oled_write_ln_P(PSTR(""), false);
|
||||
|
|
|
@ -119,7 +119,7 @@ static void render_status(void) {
|
|||
|
||||
// Only update if the LED state has changed
|
||||
// Otherwise, the OLED will not turn off if an LED is on.
|
||||
if (persistent_led_state != led_state) {
|
||||
if (persistent_led_state.raw != led_state.raw) {
|
||||
persistent_led_state = led_state;
|
||||
|
||||
oled_write_ln_P(PSTR(""), false);
|
||||
|
|
|
@ -99,7 +99,7 @@ static void render_status(void) {
|
|||
|
||||
// Only update if the LED state has changed
|
||||
// Otherwise, the OLED will not turn off if an LED is on.
|
||||
if (persistent_led_state != led_state) {
|
||||
if (persistent_led_state.raw != led_state.raw) {
|
||||
persistent_led_state = led_state;
|
||||
|
||||
oled_write_ln_P(PSTR(" "), false);
|
||||
|
|
Loading…
Reference in a new issue