Skip to content

Commit 6a45b81

Browse files
author
jantje
committed
com port not set when using the programmer
1 parent 07dd930 commit 6a45b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io.sloeber.core/src/io/sloeber/core/tools/uploaders/arduinoUploader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public boolean uploadUsingPreferences(IFile hexFile, boolean usingProgrammer, IP
5252
.getValue().equalsIgnoreCase(Const.TRUE);
5353
} catch (Exception e) {// ignore all errors
5454
}
55-
String NewSerialPort = MComPort;
55+
String NewSerialPort = boardDescriptor.getUploadPort();
5656
if (!usingProgrammer) {
5757
NewSerialPort = ArduinoSerial.makeArduinoUploadready(this.myConsole.newMessageStream(), this.myProject,
5858
this.mycConf, boardDescriptor);

0 commit comments

Comments
 (0)