summaryrefslogtreecommitdiff
path: root/quantum/rgb_matrix.c
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-06-08 12:06:55 -0700
committerGitHub <noreply@github.com>2021-06-09 05:06:55 +1000
commit9975e1771205beaa5b05d61c3c2c8e7afbcd3981 (patch)
treeffed547784ca7fa8636f831b69c6bfa80420b7c4 /quantum/rgb_matrix.c
parent9dcd03b6ca512126231478131796c093d237067f (diff)
downloadqmk_firmware-9975e1771205beaa5b05d61c3c2c8e7afbcd3981.tar.gz
qmk_firmware-9975e1771205beaa5b05d61c3c2c8e7afbcd3981.zip
Fix Bug with (RGB|LED)_DISABLE_WHEN_USB_SUSPENDED define (#13060)
Diffstat (limited to 'quantum/rgb_matrix.c')
-rw-r--r--quantum/rgb_matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgb_matrix.c b/quantum/rgb_matrix.c
index e716c6aad3..ab8dbd849b 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
# define RGB_DISABLE_TIMEOUT 0
#endif
-#if RGB_DISABLE_WHEN_USB_SUSPENDED == false
+#if RGB_DISABLE_WHEN_USB_SUSPENDED != 1
# undef RGB_DISABLE_WHEN_USB_SUSPENDED
#endif