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) {
|
} // 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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user