make it explicit that no device-controller is loaded down with this version
This commit is contained in:
parent
0b1ed62df1
commit
7578746d2f
20
update.cpp
20
update.cpp
@ -605,19 +605,19 @@ bool Update::doUpdate(int &displayIndex, QStringList const &filesToWorkOn) {
|
|||||||
|
|
||||||
// CONSOLE()
|
// CONSOLE()
|
||||||
|
|
||||||
m_hw->dc_autoRequest(false);// default: turn auto-request setting off
|
// m_hw->dc_autoRequest(false);// default: turn auto-request setting off
|
||||||
QThread::sleep(1); // wait to be sure that there are no more
|
// QThread::sleep(1); // wait to be sure that there are no more
|
||||||
// commands sent to dc-hardware
|
// // commands sent to dc-hardware
|
||||||
|
|
||||||
if ((updateBinaryRes = updateBinary(fToWorkOn)) == true) {
|
|
||||||
|
|
||||||
|
// if ((updateBinaryRes = updateBinary(fToWorkOn)) == true) {
|
||||||
|
//
|
||||||
// qCritical() << "downloaded binary" << fToWorkOn;
|
// qCritical() << "downloaded binary" << fToWorkOn;
|
||||||
|
|
||||||
++displayIndex;
|
// ++displayIndex;
|
||||||
emit m_worker->appendText(QString("\n(") + QString("%1").arg(displayIndex).rightJustified(2, ' ') + QString(")")
|
// emit m_worker->appendText(QString("\n(") + QString("%1").arg(displayIndex).rightJustified(2, ' ') + QString(")")
|
||||||
+ QString(" Update ") + QFileInfo(fToWorkOn).fileName(),
|
// + QString(" Update ") + QFileInfo(fToWorkOn).fileName(),
|
||||||
Worker::UPDATE_STEP_DONE);
|
// Worker::UPDATE_STEP_DONE);
|
||||||
}
|
//}
|
||||||
|
|
||||||
m_hw->dc_autoRequest(true); // turn auto-request setting on
|
m_hw->dc_autoRequest(true); // turn auto-request setting on
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user