Turn auto-request ON in any case.

This commit is contained in:
Gerhard Hoffmann 2023-07-06 14:32:20 +02:00
parent a41dc5403f
commit 06a9eba177

View File

@ -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) {