summaryrefslogtreecommitdiff
path: root/keyboards/nullbitsco/snap/keymaps/typehud/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nullbitsco/snap/keymaps/typehud/keymap.c')
-rw-r--r--keyboards/nullbitsco/snap/keymaps/typehud/keymap.c2
1 files changed, 1 insertions, 1 deletions
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);