Skip to content

Commit 7e8cc09

Browse files
cmaglieumbynos
andauthored
Update commands/upload/upload.go
Co-authored-by: Umberto Baldi <[email protected]>
1 parent 0b0dbc6 commit 7e8cc09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: commands/upload/upload.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ func runProgramAction(pme *packagemanager.Explorer,
368368
// In order to trigger the forced serial-port-wait the following conditions must be met:
369369
// - No upload port specified (protocol == "default")
370370
// - "upload.wait_for_upload_port" == true (developers requested the touch + port wait)
371-
// - "upload.tool.serial" not defained, or
371+
// - "upload.tool.serial" not defined, or
372372
// "upload.tool.serial" is the same as "upload.tool.default"
373373
forcedSerialPortWait := port.Protocol == "default" && // this is the value when no port is specified
374374
uploadProperties.GetBoolean("upload.wait_for_upload_port") &&

0 commit comments

Comments
 (0)