Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 54971e4

Browse files
author
Federico Fissore
committed
SerialUploader: actualUploadPort may still be null, in that case fall back to userSelectedUploadPort
1 parent 8139e85 commit 54971e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎arduino-core/src/cc/arduino/packages/uploaders/SerialUploader.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ public boolean uploadUsingPreferences(File sourcePath, String buildPath, String
192192
if (finalUploadPort == null) {
193193
finalUploadPort = actualUploadPort;
194194
}
195+
if (finalUploadPort == null) {
196+
finalUploadPort = userSelectedUploadPort;
197+
}
195198
BaseNoGui.selectSerialPort(finalUploadPort);
196199
return uploadResult;
197200
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /