From 721a156fce2e896f39792b21019161ddec20c95b Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Fri, 15 Mar 2024 12:59:59 +0100 Subject: [PATCH] Remove functionality for downloading firmware-device-controller --- UpdatePTUDevCtrl/update.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/UpdatePTUDevCtrl/update.cpp b/UpdatePTUDevCtrl/update.cpp index 6e45cbe..298aa00 100644 --- a/UpdatePTUDevCtrl/update.cpp +++ b/UpdatePTUDevCtrl/update.cpp @@ -140,6 +140,7 @@ Update::Update(Worker *worker, qCritical() << "(" << __func__ << ":" << __LINE__ << ") m_sys_areDCDataValid ..." << m_sys_areDCdataValid; +#if 0 QObject const *obj = m_hw->getAPI(); Q_ASSERT(obj != nullptr); @@ -167,6 +168,7 @@ Update::Update(Worker *worker, SLOT(onReportDCDownloadFailure(QString const &)))) { critical << "FAILED"; } else critical << "DONE"; +#endif } } @@ -644,6 +646,7 @@ bool Update::doUpdate(int &displayIndex, QStringList const &filesToWorkOn) { m_worker->startProgressLoop(); QString const &fToWorkOn = QDir::cleanPath(m_customerRepository + QDir::separator() + it->trimmed()); if (fToWorkOn.endsWith("/dc2c.bin") && dcDownloadPossible) { +#if 0 // download for dc possible only once // download of device-controller should always be the last step dcDownloadPossible = false; @@ -709,7 +712,7 @@ bool Update::doUpdate(int &displayIndex, QStringList const &filesToWorkOn) { break; } } - +#endif bool updateBinaryRes = true; // CONSOLE()