Skip to content

Commit 4a7cee4

Browse files
cmaglieFederico Fissore
authored and
Federico Fissore
committed
Fixed upload on Arduino Leonardo (and derivatives) with JSSC on Mac.
See arduino#1633
1 parent 4b3717b commit 4a7cee4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/src/cc/arduino/packages/uploaders/SerialUploader.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ public boolean uploadUsingPreferences(File sourcePath, String buildPath, String
8989
// otherwise assert DTR, which would cancel the WDT reset if
9090
// it happened within 250 ms. So we wait until the reset should
9191
// have already occured before we start scanning.
92-
if (!Base.isMacOS())
93-
Thread.sleep(300);
94-
92+
Thread.sleep(300);
9593
uploadPort = waitForUploadPort(uploadPort, before);
9694
} else {
9795
Thread.sleep(400);

0 commit comments

Comments
 (0)