From 81ea4f911080f517485256447c271a3f63788b65 Mon Sep 17 00:00:00 2001 From: Jay Greco Date: Fri, 1 Sep 2023 08:46:05 -0700 Subject: 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(-) (limited to 'keyboards') diff --git a/keyboards/nullbitsco/snap/keymaps/bongo_reactive/keymap.c b/keyboards/nullbitsco/snap/keymaps/bongo_reactive/keymap.c index 3dfe7e4057..4474497023 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 004d2f40c1..07145ed6de 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 afdc5333ee..231c9d8545 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); -- cgit v1.2.3