summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-06-08 19:07:33 +0000
committerQMK Bot <hello@qmk.fm>2021-06-08 19:07:33 +0000
commitd9add95037b0c0f394c4ca9885f645f8523c90d6 (patch)
tree4eaa3fd9b42390f06d2b634b140043a7d3968c34 /quantum
parent17d0fad7626aafef02b57156723414cb4d180d18 (diff)
parent9975e1771205beaa5b05d61c3c2c8e7afbcd3981 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'quantum')
-rw-r--r--quantum/led_matrix.c2
-rw-r--r--quantum/rgb_matrix.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/quantum/led_matrix.c b/quantum/led_matrix.c
index d612fbfa9d..7e0fdf896a 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;
# define LED_DISABLE_TIMEOUT 0
#endif
-#if LED_DISABLE_WHEN_USB_SUSPENDED == false
+#if LED_DISABLE_WHEN_USB_SUSPENDED != 1
# undef LED_DISABLE_WHEN_USB_SUSPENDED
#endif
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