We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 821c665 commit 52ef553Copy full SHA for 52ef553
app/src/processing/app/Editor.java
@@ -2442,13 +2442,14 @@ private void resumeOrCloseSerialMonitor() {
2442
}
2443
2444
try {
2445
- if (serialMonitor != null)
2446
- serialMonitor.resume(boardPort);
2447
- if (boardPort == null) {
2448
- serialMonitor.close();
2449
- handleSerial();
2450
- } else {
+ if (serialMonitor != null) {
2451
serialMonitor.resume(boardPort);
+ if (boardPort == null) {
+ serialMonitor.close();
+ handleSerial();
+ } else {
+ serialMonitor.resume(boardPort);
2452
+ }
2453
2454
} catch (Exception e) {
2455
statusError(e);
0 commit comments