mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-15 00:02:49 +03:00
Fixed upload on Arduino Leonardo (and derivatives) with JSSC on Mac.
See #1633
This commit is contained in:
committed by
Federico Fissore
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);
|
||||
|
Reference in New Issue
Block a user