Compare commits

...

1 Commits

Author SHA1 Message Date
Drashna Jaelre
9975e17712 Fix Bug with (RGB|LED)_DISABLE_WHEN_USB_SUSPENDED define (#13060) 2021-06-09 05:06:55 +10:00
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