Browse Source

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

pull/13145/head 0.13.4
Drashna Jaelre 2 years ago
committed by GitHub
parent
commit
9975e17712
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      quantum/led_matrix.c
  2. +1
    -1
      quantum/rgb_matrix.c

+ 1
- 1
quantum/led_matrix.c 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


+ 1
- 1
quantum/rgb_matrix.c 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


Loading…
Cancel
Save