Skip to content

Commit

Permalink
Change RGB/LED Matrix to use a simple define for USB suspend (qmk#12697)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored and mechlovin committed Jul 30, 2021
1 parent df7ea27 commit bb7e8cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tmk_core/common/avr/suspend.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ void suspend_wakeup_init(void) {
#if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE)
rgblight_wakeup();
#endif
# if defined(RGB_MATRIX_ENABLE)
rgb_matrix_set_suspend_state(false);
# endif

#if defined(LED_MATRIX_ENABLE)
led_matrix_set_suspend_state(false);
Expand Down

0 comments on commit bb7e8cd

Please sign in to comment.