We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3ee0a8 commit 8310d01Copy full SHA for 8310d01
commands/upload/upload.go
@@ -195,7 +195,7 @@ func runProgramAction(pme *packagemanager.Explorer,
195
if burnBootloader && programmerID == "" {
196
return &arduino.MissingProgrammerError{}
197
}
198
- if port == nil {
+ if port == nil || (port.Address == "" && port.Protocol == "") {
199
// For no-port uploads use "default" protocol
200
port = &rpc.Port{Protocol: "default"}
201
0 commit comments