diff options
author | Drashna Jaelre <drashna@live.com> | 2021-06-08 12:06:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 05:06:55 +1000 |
commit | 9975e1771205beaa5b05d61c3c2c8e7afbcd3981 (patch) | |
tree | ffed547784ca7fa8636f831b69c6bfa80420b7c4 | |
parent | 9dcd03b6ca512126231478131796c093d237067f (diff) | |
download | qmk_firmware-9975e1771205beaa5b05d61c3c2c8e7afbcd3981.tar.gz qmk_firmware-9975e1771205beaa5b05d61c3c2c8e7afbcd3981.zip |
Fix Bug with (RGB|LED)_DISABLE_WHEN_USB_SUSPENDED define (#13060)
-rw-r--r-- | quantum/led_matrix.c | 2 | ||||
-rw-r--r-- | quantum/rgb_matrix.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/quantum/led_matrix.c b/quantum/led_matrix.c index d612fbfa9..7e0fdf896 100644 --- a/quantum/led_matrix.c +++ b/quantum/led_matrix.c | |||
@@ -67,7 +67,7 @@ const led_point_t k_led_matrix_center = LED_MATRIX_CENTER; | |||
67 | # define LED_DISABLE_TIMEOUT 0 | 67 | # define LED_DISABLE_TIMEOUT 0 |
68 | #endif | 68 | #endif |
69 | 69 | ||
70 | #if LED_DISABLE_WHEN_USB_SUSPENDED == false | 70 | #if LED_DISABLE_WHEN_USB_SUSPENDED != 1 |
71 | # undef LED_DISABLE_WHEN_USB_SUSPENDED | 71 | # undef LED_DISABLE_WHEN_USB_SUSPENDED |
72 | #endif | 72 | #endif |
73 | 73 | ||
diff --git a/quantum/rgb_matrix.c b/quantum/rgb_matrix.c index e716c6aad..ab8dbd849 100644 --- a/quantum/rgb_matrix.c +++ b/quantum/rgb_matrix.c | |||
@@ -67,7 +67,7 @@ __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 == false | 70 | #if RGB_DISABLE_WHEN_USB_SUSPENDED != 1 |
71 | # undef RGB_DISABLE_WHEN_USB_SUSPENDED | 71 | # undef RGB_DISABLE_WHEN_USB_SUSPENDED |
72 | #endif | 72 | #endif |
73 | 73 | ||