From d006b68451f69f2c501b718ef91ab9150d952faf Mon Sep 17 00:00:00 2001 From: Jay Greco Date: Fri, 1 Sep 2023 08:46:05 -0700 Subject: [PATCH] nullbitsco/snap: fix broken keymaps (#21877) --- keyboards/nullbitsco/snap/keymaps/bongo_reactive/keymap.c | 2 +- keyboards/nullbitsco/snap/keymaps/oled/keymap.c | 2 +- keyboards/nullbitsco/snap/keymaps/typehud/keymap.c | 2 +- 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 index 3dfe7e4057c9..447449702312 100644 --- 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 index 004d2f40c141..07145ed6def9 100644 --- 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 index afdc5333ee8d..231c9d85452b 100644 --- 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);