Update::updateBinary():
begin with starting "/opt/app/tools/atbupdate/ATBDownloadDCFirmware".
This commit is contained in:
parent
79e2405738
commit
75b0b83174
@ -272,7 +272,14 @@ bool Update::isSerialOpen() const {
|
|||||||
// bootloader is really not running anymore.
|
// bootloader is really not running anymore.
|
||||||
*/
|
*/
|
||||||
bool Update::updateBinary(QString const &fileToSendToDC) {
|
bool Update::updateBinary(QString const &fileToSendToDC) {
|
||||||
qInfo() << "UPDATING DEVICE CONTROLLER FIRMWARE BINARY" << fileToSendToDC;
|
|
||||||
|
QFile dc("/opt/app/tools/atbupdate/ATBDownloadDCFirmware");
|
||||||
|
if (dc.exists()) {
|
||||||
|
qCritical() << "ERROR: dc-binary does not exist" << fileToSendToDC;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
qInfo() << "updating dc-binary" << fileToSendToDC << "...";
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user