Turn auto-request ON in any case.
This commit is contained in:
parent
a41dc5403f
commit
06a9eba177
14
update.cpp
14
update.cpp
@ -795,16 +795,12 @@ bool Update::doUpdate() {
|
||||
|
||||
} // for (it = openLines.cbegin(); it != openLines.end(); ++it) {
|
||||
|
||||
if (serialOpened) {
|
||||
m_hw->dc_autoRequest(true);
|
||||
qDebug() << "SET AUTO-REQUEST=TRUE";
|
||||
qInfo() << "current dc-hardware-version" << m_hw->dc_getHWversion();
|
||||
qInfo() << "current dc-firmware-version" << m_hw->dc_getSWversion();
|
||||
closeSerial();
|
||||
serialOpened = false;
|
||||
}
|
||||
m_hw->dc_autoRequest(true); // ALWAYS turn autoRequest ON
|
||||
qDebug() << "SET AUTO-REQUEST=TRUE";
|
||||
|
||||
return finishUpdate(linesToWorkOn.size() > 0);
|
||||
return true;
|
||||
|
||||
// return finishUpdate(linesToWorkOn.size() > 0);
|
||||
}
|
||||
|
||||
bool Update::finishUpdate(bool swapCtrlFiles) {
|
||||
|
Loading…
Reference in New Issue
Block a user