mirror of https://github.com/noisymime/Arduino.git
Added autoreset feature for Windows.
This commit is contained in:
parent
19f1117c68
commit
c26e377cc5
|
@ -141,6 +141,10 @@ public class BasicUploader extends Uploader {
|
|||
throw new RunnerException(e.getMessage());
|
||||
}
|
||||
prefs.put("serial.port", uploadPort);
|
||||
if (uploadPort.startsWith("/dev/"))
|
||||
prefs.put("serial.port.file", uploadPort.substring(5));
|
||||
else
|
||||
prefs.put("serial.port.file", uploadPort);
|
||||
}
|
||||
|
||||
prefs.put("build.path", buildPath);
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue