1
0
Fork 0

Remove useless wait in AVR suspend code (#11352)

This commit is contained in:
Ryan 2020-12-30 20:58:57 +11:00 committed by GitHub
parent 1aa8a3b424
commit 411b92e206
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,9 +179,6 @@ void suspend_wakeup_init(void) {
#if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE) #if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE)
is_suspended = false; is_suspended = false;
if (rgblight_enabled) { if (rgblight_enabled) {
# ifdef BOOTLOADER_TEENSY
wait_ms(10);
# endif
rgblight_enable_noeeprom(); rgblight_enable_noeeprom();
} }
rgblight_timer_enable(); rgblight_timer_enable();