aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/rgb_matrix.c
diff options
context:
space:
mode:
authorGravatar Lenbok <lenbok@gmail.com>2019-04-06 13:19:42 +1300
committerGravatar Drashna Jaelre <drashna@live.com>2019-04-06 10:59:25 -0700
commit2ffa4798a43682a73598c0b43d46abcca7cd6e83 (patch)
tree9c347a42bc2cef2b3e73ce015a0290af6a7469a2 /quantum/rgb_matrix.c
parentcb33643f0209202e5d195613ad685e3cdae4ef2d (diff)
downloadqmk_firmware-2ffa4798a43682a73598c0b43d46abcca7cd6e83.tar.gz
Fix bugs that cause compile failures when enabling only some animations.
Diffstat (limited to 'quantum/rgb_matrix.c')
-rw-r--r--quantum/rgb_matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgb_matrix.c b/quantum/rgb_matrix.c
index 413e5777f..a1193d4c0 100644
--- a/quantum/rgb_matrix.c
+++ b/quantum/rgb_matrix.c
@@ -101,7 +101,7 @@ void eeconfig_update_rgb_matrix(uint32_t val) {
void eeconfig_update_rgb_matrix_default(void) {
dprintf("eeconfig_update_rgb_matrix_default\n");
rgb_matrix_config.enable = 1;
-#ifndef DISABLE_RGB_MATRIX_CYCLE_ALL
+#ifndef DISABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
rgb_matrix_config.mode = RGB_MATRIX_CYCLE_LEFT_RIGHT;
#else
// fallback to solid colors if RGB_MATRIX_CYCLE_LEFT_RIGHT is disabled in userspace