Skip to content

Commit e9d4b2f

Browse files
committed
MTK Uploader
1 parent 8b6c16a commit e9d4b2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

it.baeyens.arduino.core/src/it/baeyens/arduino/tools/uploaders/arduinoUploader.java

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public boolean uploadUsingPreferences(IFile hexFile, IProject project, boolean u
3636

3737
command = command.replaceAll(" -P ", " -P " + NewComPort + " ");
3838
String nakedPort = NewComPort.replace("/dev/", "");
39+
command = command.replaceAll(" -port ", " -port " + nakedPort + " ");
3940
command = command.replaceAll(" --port= ", " --port=" + nakedPort + " ");
4041

4142
try {

0 commit comments

Comments
 (0)