We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f38056c commit 5a2dfa4Copy full SHA for 5a2dfa4
app/src/processing/app/Editor.java
@@ -2435,13 +2435,14 @@ private void resumeOrCloseSerialMonitor() {
2435
}
2436
2437
try {
2438
- if (serialMonitor != null)
2439
- serialMonitor.resume(boardPort);
2440
- if (boardPort == null) {
2441
- serialMonitor.close();
2442
- handleSerial();
2443
- } else {
+ if (serialMonitor != null) {
2444
serialMonitor.resume(boardPort);
+ if (boardPort == null) {
+ serialMonitor.close();
+ handleSerial();
+ } else {
+ serialMonitor.resume(boardPort);
2445
+ }
2446
2447
} catch (Exception e) {
2448
statusError(e);
0 commit comments