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) { } // for (it = openLines.cbegin(); it != openLines.end(); ++it) {
if (serialOpened) { m_hw->dc_autoRequest(true); // ALWAYS turn autoRequest ON
m_hw->dc_autoRequest(true); qDebug() << "SET AUTO-REQUEST=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;
}
return finishUpdate(linesToWorkOn.size() > 0); return true;
// return finishUpdate(linesToWorkOn.size() > 0);
} }
bool Update::finishUpdate(bool swapCtrlFiles) { bool Update::finishUpdate(bool swapCtrlFiles) {