mirror of https://github.com/noisymime/Arduino.git
parent
60b169fbe9
commit
643f8479e3
|
@ -177,6 +177,13 @@ public class SerialUploader extends Uploader {
|
|||
Thread.sleep(100);
|
||||
}
|
||||
|
||||
BoardPort boardPort = BaseNoGui.getDiscoveryManager().find(PreferencesData.get("serial.port"));
|
||||
try {
|
||||
prefs.put("serial.port.iserial", boardPort.getPrefs().getOrExcept("iserial"));
|
||||
} catch (Exception e) {
|
||||
// if serial port does not contain an iserial field
|
||||
}
|
||||
|
||||
prefs.put("build.path", buildPath);
|
||||
prefs.put("build.project_name", className);
|
||||
if (verbose) {
|
||||
|
|
Loading…
Reference in New Issue