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:
parent
4b3717bc53
commit
4a7cee4b3c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user