Browse Source

Reduce startup delay slightly

teensy4-core
PaulStoffregen 6 years ago
parent
commit
5b8d6d44d6
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      teensy3/pins_teensy.c

+ 6
- 0
teensy3/pins_teensy.c View File

@@ -583,9 +583,15 @@ void _init_Teensyduino_internal_(void)
// for background about this startup delay, please see these conversations
// https://forum.pjrc.com/threads/36606-startup-time-(400ms)?p=113980&viewfull=1#post113980
// https://forum.pjrc.com/threads/31290-Teensey-3-2-Teensey-Loader-1-24-Issues?p=87273&viewfull=1#post87273
#if TEENSYDUINO >= 142
delay(25);
usb_init();
delay(275);
#else
delay(50);
usb_init();
delay(350);
#endif
}



Loading…
Cancel
Save