From 9975e1771205beaa5b05d61c3c2c8e7afbcd3981 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Tue, 8 Jun 2021 12:06:55 -0700 Subject: Fix Bug with (RGB|LED)_DISABLE_WHEN_USB_SUSPENDED define (#13060) --- quantum/rgb_matrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quantum/rgb_matrix.c') 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 -- cgit v1.2.3