mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-11 09:43:08 +03:00
Merge pull request #2709 from projectgus/master
Fix auto-reset on Leonardo-derived boards from Linux hosts
This commit is contained in:
@@ -116,7 +116,7 @@ public class SerialUploader extends Uploader {
|
||||
if (verbose)
|
||||
System.out.println(
|
||||
I18n.format(_("Forcing reset using 1200bps open/close on port {0}"), uploadPort));
|
||||
Serial.touchPort(uploadPort, 1200);
|
||||
Serial.touchForCDCReset(uploadPort);
|
||||
}
|
||||
Thread.sleep(400);
|
||||
if (waitForUploadPort) {
|
||||
|
Reference in New Issue
Block a user