Sfoglia il codice sorgente

Remove useless wait in AVR suspend code (#11352)

Ryan 4 anni fa
parent
commit
411b92e206
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      tmk_core/common/avr/suspend.c

+ 0 - 3
tmk_core/common/avr/suspend.c

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