Skip to content

Commit

Permalink
Fix Bug with (RGB|LED)_DISABLE_WHEN_USB_SUSPENDED define (qmk#13060)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Jun 8, 2021
1 parent 9dcd03b commit 9975e17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quantum/led_matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion quantum/rgb_matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9975e17

Please sign in to comment.