summaryrefslogtreecommitdiff
path: root/keyboards/helix/rev2/keymaps/default
diff options
context:
space:
mode:
authorTakeshi ISHII <2170248+mtei@users.noreply.github.com>2020-04-11 17:41:12 +0900
committerGitHub <noreply@github.com>2020-04-11 10:41:12 +0200
commit511fe643c2ac902e8d42f87bffccdf4aaab700d1 (patch)
treed561c2f4787b21675735b53439aa5cc6609dca8c /keyboards/helix/rev2/keymaps/default
parentf7601dba13390947c291b97e23c677b5e3d1f9c4 (diff)
[Keymap] fix OLED display on Helix keyboard keymaps default and… (#8737)
Since #7773, the mode number of RGBlight is no longer displayed on the Helix OLEDs. I fixed this.
Diffstat (limited to 'keyboards/helix/rev2/keymaps/default')
-rw-r--r--keyboards/helix/rev2/keymaps/default/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/helix/rev2/keymaps/default/keymap.c b/keyboards/helix/rev2/keymaps/default/keymap.c
index 78e3424fd5..c575287ee6 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) {
}
static void render_rgbled_status(bool full, struct CharacterMatrix *matrix) {
-#if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_ANIMATIONS)
+#ifdef RGBLIGHT_ENABLE
char buf[30];
- if(rgblight_config.enable) {
+ if (RGBLIGHT_MODES > 1 && rgblight_config.enable) {
if (full) {
snprintf(buf, sizeof(buf), " LED %2d: %d,%d,%d ",
rgblight_config.mode,