1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-17 06:52:18 +01:00

Added autoreset feature for Windows.

This commit is contained in:
Cristian Maglie 2012-08-16 17:02:30 -07:00
parent 19f1117c68
commit c26e377cc5
2 changed files with 4 additions and 0 deletions

View File

@ -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.