aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/color.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/color.c')
-rw-r--r--quantum/color.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/color.c b/quantum/color.c
index 8bd52444f..c05030062 100644
--- a/quantum/color.c
+++ b/quantum/color.c
@@ -87,9 +87,9 @@ RGB hsv_to_rgb(HSV hsv) {
}
#ifdef RGBW
-#ifndef MIN
-# define MIN(a, b) ((a) < (b) ? (a) : (b))
-#endif
+# ifndef MIN
+# define MIN(a, b) ((a) < (b) ? (a) : (b))
+# endif
void convert_rgb_to_rgbw(LED_TYPE *led) {
// Determine lowest value in all three colors, put that into
// the white channel and then shift all colors by that amount