ソースを参照

Reduce startup delay slightly

teensy4-core
PaulStoffregen 7年前
コミット
5b8d6d44d6
1個のファイルの変更6行の追加0行の削除
  1. +6
    -0
      teensy3/pins_teensy.c

+ 6
- 0
teensy3/pins_teensy.c ファイルの表示

@@ -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
}



読み込み中…
キャンセル
保存