Skip to content

Commit

Permalink
Add missing LED Matrix suspend code to suspend.c (qmk#12878)
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan <fauxpark@gmail.com>
  • Loading branch information
2 people authored and mechlovin committed Jul 30, 2021
1 parent e282f6e commit 6b2197f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tmk_core/common/avr/suspend.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ void suspend_wakeup_init(void) {
#if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE)
rgblight_wakeup();
#endif

#if defined(LED_MATRIX_ENABLE)
led_matrix_set_suspend_state(false);
#endif
#if defined(RGB_MATRIX_ENABLE)
rgb_matrix_set_suspend_state(false);
#endif
Expand Down

0 comments on commit 6b2197f

Please sign in to comment.