"after dc_download restart autorequest or else E255"

This commit is contained in:
Oswaldo Palma 2025-08-18 13:06:25 +02:00
parent 0f355c0c50
commit 716543ec8c

View File

@ -439,9 +439,11 @@ int Update::run() {
stopBootloader(); // there is no harm in stopping the bootloader even stopBootloader(); // there is no harm in stopping the bootloader even
// if starting the bootloader failed // if starting the bootloader failed
qInfo() << nextTimePoint().toUtf8().constData() << "<DC-UPDATE-SUCCESS>"; qInfo() << nextTimePoint().toUtf8().constData() << "<DC-UPDATE-SUCCESS>";
m_hw->dc_autoRequest(true); //restart dc_autoRequest after download else E255!
return -(int)Result::SUCCESS; return -(int)Result::SUCCESS;
} }
qInfo() << nextTimePoint().toUtf8().constData() << "<DC-UPDATE-FAILURE>"; qInfo() << nextTimePoint().toUtf8().constData() << "<DC-UPDATE-FAILURE>";
//To Do Error handling if Dc doesnt start after download
return false; return false;
} }