summaryrefslogtreecommitdiff
path: root/quantum/rgblight_reconfig.h
diff options
context:
space:
mode:
authorWilliam Chang <william@factual.com>2019-11-20 22:17:07 -0800
committerWilliam Chang <william@factual.com>2019-11-20 22:17:07 -0800
commite7f4d56592b3975c38af329e77b4efd9108495e8 (patch)
tree0a416bccbf70bfdbdb9ffcdb3bf136b47378c014 /quantum/rgblight_reconfig.h
parent71493b2f9bbd5f3d18373c518fa14ccafcbf48fc (diff)
parent8416a94ad27b3ff058576f09f35f0704a8b39ff3 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'quantum/rgblight_reconfig.h')
-rw-r--r--quantum/rgblight_reconfig.h41
1 files changed, 17 insertions, 24 deletions
diff --git a/quantum/rgblight_reconfig.h b/quantum/rgblight_reconfig.h
index 11bd4fd118..4b9d6c4c2f 100644
--- a/quantum/rgblight_reconfig.h
+++ b/quantum/rgblight_reconfig.h
@@ -2,35 +2,28 @@
#define RGBLIGHT_RECONFIG_H
#ifdef RGBLIGHT_ANIMATIONS
- // for backward compatibility
- #define RGBLIGHT_EFFECT_BREATHING
- #define RGBLIGHT_EFFECT_RAINBOW_MOOD
- #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
- #define RGBLIGHT_EFFECT_SNAKE
- #define RGBLIGHT_EFFECT_KNIGHT
- #define RGBLIGHT_EFFECT_CHRISTMAS
- #define RGBLIGHT_EFFECT_STATIC_GRADIENT
- #define RGBLIGHT_EFFECT_RGB_TEST
- #define RGBLIGHT_EFFECT_ALTERNATING
+// for backward compatibility
+# define RGBLIGHT_EFFECT_BREATHING
+# define RGBLIGHT_EFFECT_RAINBOW_MOOD
+# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
+# define RGBLIGHT_EFFECT_SNAKE
+# define RGBLIGHT_EFFECT_KNIGHT
+# define RGBLIGHT_EFFECT_CHRISTMAS
+# define RGBLIGHT_EFFECT_STATIC_GRADIENT
+# define RGBLIGHT_EFFECT_RGB_TEST
+# define RGBLIGHT_EFFECT_ALTERNATING
#endif
#ifdef RGBLIGHT_STATIC_PATTERNS
- #define RGBLIGHT_EFFECT_STATIC_GRADIENT
+# define RGBLIGHT_EFFECT_STATIC_GRADIENT
#endif
// check dynamic animation effects chose ?
-#if defined(RGBLIGHT_EFFECT_BREATHING) || \
- defined(RGBLIGHT_EFFECT_RAINBOW_MOOD) || \
- defined(RGBLIGHT_EFFECT_RAINBOW_SWIRL) || \
- defined(RGBLIGHT_EFFECT_SNAKE) || \
- defined(RGBLIGHT_EFFECT_KNIGHT) || \
- defined(RGBLIGHT_EFFECT_CHRISTMAS) || \
- defined(RGBLIGHT_EFFECT_RGB_TEST) || \
- defined(RGBLIGHT_EFFECT_ALTERNATING)
- #define RGBLIGHT_USE_TIMER
- #ifndef RGBLIGHT_ANIMATIONS
- #define RGBLIGHT_ANIMATIONS // for backward compatibility
- #endif
+#if defined(RGBLIGHT_EFFECT_BREATHING) || defined(RGBLIGHT_EFFECT_RAINBOW_MOOD) || defined(RGBLIGHT_EFFECT_RAINBOW_SWIRL) || defined(RGBLIGHT_EFFECT_SNAKE) || defined(RGBLIGHT_EFFECT_KNIGHT) || defined(RGBLIGHT_EFFECT_CHRISTMAS) || defined(RGBLIGHT_EFFECT_RGB_TEST) || defined(RGBLIGHT_EFFECT_ALTERNATING)
+# define RGBLIGHT_USE_TIMER
+# ifndef RGBLIGHT_ANIMATIONS
+# define RGBLIGHT_ANIMATIONS // for backward compatibility
+# endif
#endif
-#endif // RGBLIGHT_RECONFIG_H
+#endif // RGBLIGHT_RECONFIG_H