Skip to content

Commit 1983847

Browse files
committed
Fix SerialMonitor reopen on reconnect
1 parent 49d6660 commit 1983847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/AbstractMonitor.java

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

0 commit comments

Comments
 (0)