Remove only half-working check if download of json-conf-file worked.

This commit is contained in:
Gerhard Hoffmann 2023-12-15 09:33:57 +01:00
parent 5d7d1a2870
commit 12f48ad1bb

View File

@ -376,6 +376,13 @@ bool Update::downloadJson(enum FileTypeJson type,
templateIdx,
(uint8_t *)ba.data())) {
/*
* Note: the machine id is contained in DC2C_conf.json.
* The idea was to use this to check if the download of
* the json-file was correct. It did not work, as the
* update of the PSA (to reflect a change in the
* machine id) did not happen immediately.
*
m_hw->dc_autoRequest(true);
QThread::msleep(500);
@ -394,6 +401,7 @@ bool Update::downloadJson(enum FileTypeJson type,
QByteArray ba((const char*)data, length);
qCritical() << length << "MACHINE ID =" << ba.toHex(':');
*/
ret = true;
}