Remove functionality for downloading firmware-device-controller

This commit is contained in:
Gerhard Hoffmann 2024-03-15 12:59:59 +01:00
parent b7576d04e1
commit 721a156fce

View File

@ -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()