From 7578746d2f7585f5e5d2ab60689466f00d684e3f Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 25 Jan 2024 15:46:46 +0100 Subject: [PATCH] make it explicit that no device-controller is loaded down with this version --- update.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/update.cpp b/update.cpp index 764fb15..c6dd626 100644 --- a/update.cpp +++ b/update.cpp @@ -605,19 +605,19 @@ bool Update::doUpdate(int &displayIndex, QStringList const &filesToWorkOn) { // CONSOLE() - m_hw->dc_autoRequest(false);// default: turn auto-request setting off - QThread::sleep(1); // wait to be sure that there are no more - // commands sent to dc-hardware - - if ((updateBinaryRes = updateBinary(fToWorkOn)) == true) { + // m_hw->dc_autoRequest(false);// default: turn auto-request setting off + // QThread::sleep(1); // wait to be sure that there are no more + // // commands sent to dc-hardware + // if ((updateBinaryRes = updateBinary(fToWorkOn)) == true) { + // // qCritical() << "downloaded binary" << fToWorkOn; - ++displayIndex; - emit m_worker->appendText(QString("\n(") + QString("%1").arg(displayIndex).rightJustified(2, ' ') + QString(")") - + QString(" Update ") + QFileInfo(fToWorkOn).fileName(), - Worker::UPDATE_STEP_DONE); - } + // ++displayIndex; + // emit m_worker->appendText(QString("\n(") + QString("%1").arg(displayIndex).rightJustified(2, ' ') + QString(")") + // + QString(" Update ") + QFileInfo(fToWorkOn).fileName(), + // Worker::UPDATE_STEP_DONE); + //} m_hw->dc_autoRequest(true); // turn auto-request setting on