1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Fixed upload on Arduino Leonardo (and derivatives) with JSSC on Mac.

See #1633
This commit is contained in:
Cristian Maglie 2013-10-23 13:51:49 +02:00 committed by Federico Fissore
parent 4b3717bc53
commit 4a7cee4b3c

View File

@ -89,9 +89,7 @@ public class SerialUploader extends Uploader {
// otherwise assert DTR, which would cancel the WDT reset if
// it happened within 250 ms. So we wait until the reset should
// have already occured before we start scanning.
if (!Base.isMacOS())
Thread.sleep(300);
Thread.sleep(300);
uploadPort = waitForUploadPort(uploadPort, before);
} else {
Thread.sleep(400);