1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Don't try automatic resume during upload

This commit is contained in:
Martino Facchin 2018-10-09 17:25:07 +02:00
parent 693498fb76
commit 99f6043ced
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ public abstract class AbstractMonitor extends JFrame implements ActionListener {
suspend();
}
} else {
if (closed) {
if (closed && (Editor.avoidMultipleOperations == false)) {
resume(boardPort);
}
}

View File

@ -181,7 +181,7 @@ public class Editor extends JFrame implements RunnerListener {
private int numTools = 0;
public boolean avoidMultipleOperations = false;
static public boolean avoidMultipleOperations = false;
private final EditorToolbar toolbar;
// these menus are shared so that they needn't be rebuilt for all windows