浏览代码

Add startup delay - improves Windows & I2C sensor experience

teensy4-core
PaulStoffregen 9 年前
父节点
当前提交
c006772eeb
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. +3
    -2
      teensy3/pins_teensy.c

+ 3
- 2
teensy3/pins_teensy.c 查看文件

@@ -571,8 +571,9 @@ void _init_Teensyduino_internal_(void)
FTM3_SC = FTM_SC_CLKS(1) | FTM_SC_PS(DEFAULT_FTM_PRESCALE);
#endif
analog_init();
//delay(100); // TODO: this is not necessary, right?
delay(4);
// for background about this startup delay, please see this conversation
// https://forum.pjrc.com/threads/31290-Teensey-3-2-Teensey-Loader-1-24-Issues?p=87273&viewfull=1#post87273
delay(250);
usb_init();
}


正在加载...
取消
保存