Fix Bug with (RGB|LED)_DISABLE_WHEN_USB_SUSPENDED define (#13060)

This commit is contained in:
Drashna Jaelre 2021-06-08 12:06:55 -07:00 committed by GitHub
parent 9dcd03b6ca
commit 9975e17712
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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