Remove functionality for downloading firmware-device-controller
This commit is contained in:
parent
b7576d04e1
commit
721a156fce
@ -140,6 +140,7 @@ Update::Update(Worker *worker,
|
|||||||
qCritical() << "(" << __func__ << ":" << __LINE__ << ") m_sys_areDCDataValid ..."
|
qCritical() << "(" << __func__ << ":" << __LINE__ << ") m_sys_areDCDataValid ..."
|
||||||
<< m_sys_areDCdataValid;
|
<< m_sys_areDCdataValid;
|
||||||
|
|
||||||
|
#if 0
|
||||||
QObject const *obj = m_hw->getAPI();
|
QObject const *obj = m_hw->getAPI();
|
||||||
Q_ASSERT(obj != nullptr);
|
Q_ASSERT(obj != nullptr);
|
||||||
|
|
||||||
@ -167,6 +168,7 @@ Update::Update(Worker *worker,
|
|||||||
SLOT(onReportDCDownloadFailure(QString const &)))) {
|
SLOT(onReportDCDownloadFailure(QString const &)))) {
|
||||||
critical << "FAILED";
|
critical << "FAILED";
|
||||||
} else critical << "DONE";
|
} else critical << "DONE";
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -644,6 +646,7 @@ bool Update::doUpdate(int &displayIndex, QStringList const &filesToWorkOn) {
|
|||||||
m_worker->startProgressLoop();
|
m_worker->startProgressLoop();
|
||||||
QString const &fToWorkOn = QDir::cleanPath(m_customerRepository + QDir::separator() + it->trimmed());
|
QString const &fToWorkOn = QDir::cleanPath(m_customerRepository + QDir::separator() + it->trimmed());
|
||||||
if (fToWorkOn.endsWith("/dc2c.bin") && dcDownloadPossible) {
|
if (fToWorkOn.endsWith("/dc2c.bin") && dcDownloadPossible) {
|
||||||
|
#if 0
|
||||||
// download for dc possible only once
|
// download for dc possible only once
|
||||||
// download of device-controller should always be the last step
|
// download of device-controller should always be the last step
|
||||||
dcDownloadPossible = false;
|
dcDownloadPossible = false;
|
||||||
@ -709,7 +712,7 @@ bool Update::doUpdate(int &displayIndex, QStringList const &filesToWorkOn) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
bool updateBinaryRes = true;
|
bool updateBinaryRes = true;
|
||||||
|
|
||||||
// CONSOLE()
|
// CONSOLE()
|
||||||
|
Loading…
Reference in New Issue
Block a user