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:
parent
693498fb76
commit
99f6043ced
@ -85,7 +85,7 @@ public abstract class AbstractMonitor extends JFrame implements ActionListener {
|
||||
suspend();
|
||||
}
|
||||
} else {
|
||||
if (closed) {
|
||||
if (closed && (Editor.avoidMultipleOperations == false)) {
|
||||
resume(boardPort);
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user