Open serial port only if not already opened.
This commit is contained in:
parent
85b2c1f08e
commit
a41dc5403f
@ -644,6 +644,7 @@ bool Update::doUpdate() {
|
||||
}
|
||||
|
||||
bool serialOpened = false;
|
||||
bool serialOpen = false;
|
||||
|
||||
QStringList linesToWorkOn = getLinesToWorkOn();
|
||||
if (linesToWorkOn.size() == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user