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