Skip to content

Commit 0b77c0a

Browse files
[skip-changelog] Override default pluggable monitor for serial protocol (#2153)
1 parent 2c2a5cc commit 0b77c0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino/cores/packagemanager/loader.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ func (pm *Builder) loadPlatformRelease(platform *cores.PlatformRelease, path *pa
315315
return fmt.Errorf(tr("loading %[1]s: %[2]s"), platformTxtLocalPath, err)
316316
}
317317

318-
if platform.Properties.SubTree("pluggable_discovery").Size() > 0 {
318+
if platform.Properties.SubTree("pluggable_discovery").Size() > 0 || platform.Properties.SubTree("pluggable_monitor").Size() > 0 {
319319
platform.PluggableDiscoveryAware = true
320320
} else {
321321
platform.Properties.Set("pluggable_discovery.required.0", "builtin:serial-discovery")

0 commit comments

Comments
 (0)