summaryrefslogtreecommitdiff
path: root/keyboards/nullbitsco/snap/keymaps
diff options
context:
space:
mode:
authorJay Greco <jayv.greco@gmail.com>2023-09-01 08:46:05 -0700
committerGitHub <noreply@github.com>2023-09-01 16:46:05 +0100
commit81ea4f911080f517485256447c271a3f63788b65 (patch)
treea89c0669ab80ce56cb7132bf8b3593fa9ce03d63 /keyboards/nullbitsco/snap/keymaps
parent4b1aa1640c667da83f9bff77b5db6c2db428ea1e (diff)
nullbitsco/snap: fix broken keymaps (#21877)
Diffstat (limited to 'keyboards/nullbitsco/snap/keymaps')
-rw-r--r--keyboards/nullbitsco/snap/keymaps/bongo_reactive/keymap.c2
-rw-r--r--keyboards/nullbitsco/snap/keymaps/oled/keymap.c2
-rw-r--r--keyboards/nullbitsco/snap/keymaps/typehud/keymap.c2
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 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);