summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryrdns <yrdnsi@gmail.com>2019-07-26 23:17:51 -0700
committerDrashna Jaelre <drashna@live.com>2019-07-26 23:17:51 -0700
commit22a8992d1b1caca19874b261cc070ad44a32c52e (patch)
tree7a910d2d91e6d81012601720196458203469a598
parent2367e3e1fd6e5b93fe998399befa26d4de6a93ab (diff)
downloadqmk_firmware-22a8992d1b1caca19874b261cc070ad44a32c52e.tar.gz
qmk_firmware-22a8992d1b1caca19874b261cc070ad44a32c52e.zip
Fix RGB Matrix Cycle Left-Right Animation (#6421)
One-line fix for a typo that could break build if DISABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT was defined but not DISABLE_RGB_MATRIX_CYCLE_ALL
-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 f170cfc1b7..f649525ccb 100644
--- a/quantum/rgb_matrix.c
+++ b/quantum/rgb_matrix.c
@@ -88,7 +88,7 @@
#endif
#if !defined(RGB_MATRIX_STARTUP_MODE)
- #ifndef DISABLE_RGB_MATRIX_CYCLE_ALL
+ #ifndef DISABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT
#else
// fallback to solid colors if RGB_MATRIX_CYCLE_LEFT_RIGHT is disabled in userspace