Remove useless wait in AVR suspend code (#11352)

master
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
1 changed files with 0 additions and 3 deletions

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();