nullbitsco/snap: fix broken keymaps (#21877)

This commit is contained in:
Jay Greco 2023-09-01 08:46:05 -07:00 committed by GitHub
parent 4b1aa1640c
commit 81ea4f9110
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -92,7 +92,7 @@ static void render_status(void) {
// Only update if the LED state has changed // Only update if the LED state has changed
// Otherwise, the OLED will not turn off if an LED is on. // 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; persistent_led_state = led_state;
oled_write_ln_P(PSTR(""), false); oled_write_ln_P(PSTR(""), false);

View file

@ -119,7 +119,7 @@ static void render_status(void) {
// Only update if the LED state has changed // Only update if the LED state has changed
// Otherwise, the OLED will not turn off if an LED is on. // 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; persistent_led_state = led_state;
oled_write_ln_P(PSTR(""), false); oled_write_ln_P(PSTR(""), false);

View file

@ -99,7 +99,7 @@ static void render_status(void) {
// Only update if the LED state has changed // Only update if the LED state has changed
// Otherwise, the OLED will not turn off if an LED is on. // 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; persistent_led_state = led_state;
oled_write_ln_P(PSTR(" "), false); oled_write_ln_P(PSTR(" "), false);