We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 272e35d commit 83351b3Copy full SHA for 83351b3
commands/upload/upload.go
@@ -369,7 +369,7 @@ func runProgramAction(pm *packagemanager.PackageManager,
369
// If not using programmer perform some action required
370
// to set the board in bootloader mode
371
actualPort := port
372
- if programmer == nil && !burnBootloader {
+ if programmer == nil && !burnBootloader && port.Protocol == "serial" {
373
374
// Perform reset via 1200bps touch if requested and wait for upload port also if requested.
375
touch := uploadProperties.GetBoolean("upload.use_1200bps_touch")
0 commit comments