From 22a8992d1b1caca19874b261cc070ad44a32c52e Mon Sep 17 00:00:00 2001
From: yrdns <yrdnsi@gmail.com>
Date: Fri, 26 Jul 2019 23:17:51 -0700
Subject: [PATCH] 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
---
 quantum/rgb_matrix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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