]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - tmk_core/common/avr/suspend.c
rgblight.[ch] more configurable (#3582)
[qmk_firmware.git] / tmk_core / common / avr / suspend.c
index 3d4a48439be4291589dddb5b974a0b54f9518b45..d7a7f049c7854748b24aa81cd002170a22bde0a6 100644 (file)
@@ -10,6 +10,7 @@
 #include "timer.h"
 #include "led.h"
 #include "host.h"
+#include "rgblight_reconfig.h"
 
 #ifdef PROTOCOL_LUFA
        #include "lufa.h"
@@ -189,6 +190,9 @@ void suspend_wakeup_init(void)
 #endif
        led_set(host_keyboard_leds());
 #if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE)
+#ifdef BOOTLOADER_TEENSY
+  wait_ms(10);
+#endif
   rgblight_enable_noeeprom();
 #ifdef RGBLIGHT_ANIMATIONS
   rgblight_timer_enable();