소스 검색

Update comment

teensy4-core
PaulStoffregen 7 년 전
부모
커밋
57d3c69a6b
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. +6
    -1
      teensy3/usb_serial.h

+ 6
- 1
teensy3/usb_serial.h 파일 보기

@@ -75,7 +75,12 @@ public:
void begin(long) {
uint32_t millis_begin = systick_millis_count;
while (!(*this)) {
// wait up to 1 second for Arduino Serial Monitor
// wait up to 4 seconds for Arduino Serial Monitor
// Yes, this is a long time, but some Windows systems open
// the port very slowly. This wait allows programs for
// Arduino Uno to "just work" (without forcing a reboot when
// the port is opened), and when no PC is connected the user's
// sketch still gets to run normally after this wait time.
if ((uint32_t)(systick_millis_count - millis_begin) > 4000) break;
}
}

Loading…
취소
저장