Skip to content

Commit b7a6d93

Browse files
committed
Fix SerialMonitor reopen on reconnect
1 parent 9a63965 commit b7a6d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: app/src/processing/app/AbstractMonitor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void actionPerformed(ActionEvent event) {
8080
@Override
8181
public void actionPerformed(ActionEvent ae) {
8282
try {
83-
if (!Base.getDiscoveryManager().discovery().contains(boardPort)) {
83+
if (Base.getDiscoveryManager().find(boardPort.getAddress()) == null) {
8484
if (!closed) {
8585
suspend();
8686
}

0 commit comments

Comments
 (0)