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
1 changed files with 1 additions and 3 deletions

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);
uploadPort = waitForUploadPort(uploadPort, before);
} else {
Thread.sleep(400);