commit 81ea4f911080f517485256447c271a3f63788b65
parent 4b1aa1640c667da83f9bff77b5db6c2db428ea1e
Author: Jay Greco <jayv.greco@gmail.com>
Date: Fri, 1 Sep 2023 08:46:05 -0700
nullbitsco/snap: fix broken keymaps (#21877)
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/keyboards/nullbitsco/snap/keymaps/bongo_reactive/keymap.c b/keyboards/nullbitsco/snap/keymaps/bongo_reactive/keymap.c
@@ -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);
diff --git a/keyboards/nullbitsco/snap/keymaps/oled/keymap.c b/keyboards/nullbitsco/snap/keymaps/oled/keymap.c
@@ -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);
diff --git a/keyboards/nullbitsco/snap/keymaps/typehud/keymap.c b/keyboards/nullbitsco/snap/keymaps/typehud/keymap.c
@@ -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);