mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-06 01:08:25 +01:00
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());
|
throw new RunnerException(e.getMessage());
|
||||||
}
|
}
|
||||||
prefs.put("serial.port", uploadPort);
|
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);
|
prefs.put("build.path", buildPath);
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user