diff options
author | Joel Challis <git@zvecr.com> | 2020-01-19 16:30:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-19 16:30:34 +0000 |
commit | 667045b4928badaedb38f535d885a46ff8a454fb (patch) | |
tree | 5ae5e7002381a7359eabe627b936f0c253e2822e /quantum/color.c | |
parent | f5209aa4e941c7f3a942ef4a7e256ab432ec98ce (diff) | |
download | qmk_firmware-667045b4928badaedb38f535d885a46ff8a454fb.tar.gz qmk_firmware-667045b4928badaedb38f535d885a46ff8a454fb.zip |
Run clang-format manually to fix recently changed files (#7934)
* Run clang-format manually to fix recently changed files
* Run clang-format manually to fix recently changed files - revert template files
* Run clang-format manually to fix recently changed files - format off for ascii_to_keycode_lut
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 8bd52444f..c05030062 100644 --- a/quantum/color.c +++ b/quantum/color.c | |||
@@ -87,9 +87,9 @@ RGB hsv_to_rgb(HSV hsv) { | |||
87 | } | 87 | } |
88 | 88 | ||
89 | #ifdef RGBW | 89 | #ifdef RGBW |
90 | #ifndef MIN | 90 | # ifndef MIN |
91 | # define MIN(a, b) ((a) < (b) ? (a) : (b)) | 91 | # define MIN(a, b) ((a) < (b) ? (a) : (b)) |
92 | #endif | 92 | # endif |
93 | void convert_rgb_to_rgbw(LED_TYPE *led) { | 93 | void convert_rgb_to_rgbw(LED_TYPE *led) { |
94 | // Determine lowest value in all three colors, put that into | 94 | // Determine lowest value in all three colors, put that into |
95 | // the white channel and then shift all colors by that amount | 95 | // the white channel and then shift all colors by that amount |