Skip to content

Commit

Permalink
nullbitsco/snap: fix broken keymaps (#21877)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaygreco committed Sep 1, 2023
1 parent 4b1aa16 commit 81ea4f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion keyboards/nullbitsco/snap/keymaps/bongo_reactive/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion keyboards/nullbitsco/snap/keymaps/oled/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion keyboards/nullbitsco/snap/keymaps/typehud/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 81ea4f9

Please sign in to comment.