diff options
Diffstat (limited to 'quantum/color.c')
-rw-r--r-- | quantum/color.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/color.c b/quantum/color.c index 85a6d52cf0..a5977e8ee2 100644 --- a/quantum/color.c +++ b/quantum/color.c @@ -88,9 +88,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 |