mirror of https://github.com/noisymime/Arduino.git
Fixed upload on Arduino Leonardo (and derivatives) with JSSC on Mac.
See #1633
This commit is contained in:
parent
4b3717bc53
commit
4a7cee4b3c
|
@ -89,9 +89,7 @@ public class SerialUploader extends Uploader {
|
||||||
// otherwise assert DTR, which would cancel the WDT reset if
|
// otherwise assert DTR, which would cancel the WDT reset if
|
||||||
// it happened within 250 ms. So we wait until the reset should
|
// it happened within 250 ms. So we wait until the reset should
|
||||||
// have already occured before we start scanning.
|
// have already occured before we start scanning.
|
||||||
if (!Base.isMacOS())
|
Thread.sleep(300);
|
||||||
Thread.sleep(300);
|
|
||||||
|
|
||||||
uploadPort = waitForUploadPort(uploadPort, before);
|
uploadPort = waitForUploadPort(uploadPort, before);
|
||||||
} else {
|
} else {
|
||||||
Thread.sleep(400);
|
Thread.sleep(400);
|
||||||
|
|
Loading…
Reference in New Issue