diff options
| -rw-r--r-- | keyboards/helix/rev2/keymaps/default/keymap.c | 4 | ||||
| -rw-r--r-- | keyboards/helix/rev2/keymaps/five_rows/keymap.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/helix/rev2/keymaps/default/keymap.c b/keyboards/helix/rev2/keymaps/default/keymap.c index 78e3424fd..c575287ee 100644 --- a/keyboards/helix/rev2/keymaps/default/keymap.c +++ b/keyboards/helix/rev2/keymaps/default/keymap.c | |||
| @@ -536,9 +536,9 @@ static void render_logo(struct CharacterMatrix *matrix) { | |||
| 536 | } | 536 | } |
| 537 | 537 | ||
| 538 | static void render_rgbled_status(bool full, struct CharacterMatrix *matrix) { | 538 | static void render_rgbled_status(bool full, struct CharacterMatrix *matrix) { |
| 539 | #if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_ANIMATIONS) | 539 | #ifdef RGBLIGHT_ENABLE |
| 540 | char buf[30]; | 540 | char buf[30]; |
| 541 | if(rgblight_config.enable) { | 541 | if (RGBLIGHT_MODES > 1 && rgblight_config.enable) { |
| 542 | if (full) { | 542 | if (full) { |
| 543 | snprintf(buf, sizeof(buf), " LED %2d: %d,%d,%d ", | 543 | snprintf(buf, sizeof(buf), " LED %2d: %d,%d,%d ", |
| 544 | rgblight_config.mode, | 544 | rgblight_config.mode, |
diff --git a/keyboards/helix/rev2/keymaps/five_rows/keymap.c b/keyboards/helix/rev2/keymaps/five_rows/keymap.c index eb73881c6..fcc5c4bbe 100644 --- a/keyboards/helix/rev2/keymaps/five_rows/keymap.c +++ b/keyboards/helix/rev2/keymaps/five_rows/keymap.c | |||
| @@ -496,9 +496,9 @@ static void render_logo(struct CharacterMatrix *matrix) { | |||
| 496 | 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,0xd0,0xd1,0xd2,0xd3,0xd4, | 496 | 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,0xd0,0xd1,0xd2,0xd3,0xd4, |
| 497 | 0}; | 497 | 0}; |
| 498 | matrix_write(matrix, logo); | 498 | matrix_write(matrix, logo); |
| 499 | #if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_ANIMATIONS) | 499 | #ifdef RGBLIGHT_ENABLE |
| 500 | char buf[30]; | 500 | char buf[30]; |
| 501 | if(rgblight_config.enable) { | 501 | if (RGBLIGHT_MODES > 1 && rgblight_config.enable) { |
| 502 | snprintf(buf, sizeof(buf), " LED %2d: %d,%d,%d ", | 502 | snprintf(buf, sizeof(buf), " LED %2d: %d,%d,%d ", |
| 503 | rgblight_config.mode, | 503 | rgblight_config.mode, |
| 504 | rgblight_config.hue/RGBLIGHT_HUE_STEP, | 504 | rgblight_config.hue/RGBLIGHT_HUE_STEP, |
