diff options
author | Drashna Jaelre <drashna@live.com> | 2021-06-09 22:59:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 22:59:19 -0700 |
commit | 7a6e630ffd1a2a8357daf8b7ed2ab766eae55e07 (patch) | |
tree | f47997266960b08eca70a929ec19a4093f491ae3 /quantum/rgb_matrix.c | |
parent | 32b2ac0a807bdb088df685e6118f4c0966b6cca4 (diff) | |
download | qmk_firmware-7a6e630ffd1a2a8357daf8b7ed2ab766eae55e07.tar.gz qmk_firmware-7a6e630ffd1a2a8357daf8b7ed2ab766eae55e07.zip |
Fix RGB/LED Suspend defines (#13146)
Diffstat (limited to 'quantum/rgb_matrix.c')
-rw-r--r-- | quantum/rgb_matrix.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/quantum/rgb_matrix.c b/quantum/rgb_matrix.c index ab8dbd849..27f641797 100644 --- a/quantum/rgb_matrix.c +++ b/quantum/rgb_matrix.c | |||
@@ -67,10 +67,6 @@ __attribute__((weak)) RGB rgb_matrix_hsv_to_rgb(HSV hsv) { return hsv_to_rgb(hsv | |||
67 | # define RGB_DISABLE_TIMEOUT 0 | 67 | # define RGB_DISABLE_TIMEOUT 0 |
68 | #endif | 68 | #endif |
69 | 69 | ||
70 | #if RGB_DISABLE_WHEN_USB_SUSPENDED != 1 | ||
71 | # undef RGB_DISABLE_WHEN_USB_SUSPENDED | ||
72 | #endif | ||
73 | |||
74 | #if !defined(RGB_MATRIX_MAXIMUM_BRIGHTNESS) || RGB_MATRIX_MAXIMUM_BRIGHTNESS > UINT8_MAX | 70 | #if !defined(RGB_MATRIX_MAXIMUM_BRIGHTNESS) || RGB_MATRIX_MAXIMUM_BRIGHTNESS > UINT8_MAX |
75 | # undef RGB_MATRIX_MAXIMUM_BRIGHTNESS | 71 | # undef RGB_MATRIX_MAXIMUM_BRIGHTNESS |
76 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS UINT8_MAX | 72 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS UINT8_MAX |