diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2015-04-14 11:30:55 +0200 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2015-04-14 11:30:55 +0200 |
| commit | b93a1fe88141adf095bab09006b473205f597465 (patch) | |
| tree | ff9885578c4d3f5bbef9b0d9c362ec9f04c2c8bd /daemon/manager.cpp | |
| parent | 78d1697cd63033244304f7794cf9157029e4fdb5 (diff) | |
Do not compute STM32CRC - use one from manifest.json
Fixes #47
Diffstat (limited to 'daemon/manager.cpp')
| -rw-r--r-- | daemon/manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/manager.cpp b/daemon/manager.cpp index 345fb1d..db183bd 100644 --- a/daemon/manager.cpp +++ b/daemon/manager.cpp @@ -376,14 +376,14 @@ bool Manager::uploadFirmware(bool recovery, const QString &file) return true; } - upload->uploadFirmwareResources(resourceFile.data(), + upload->uploadFirmwareResources(resourceFile.data(), bundle.crcFile(Bundle::RESOURCES), [this, recovery, bundle, resourceFile]() { qCDebug(l) << "firmware resource upload succesful"; resourceFile->close(); // Proceed to upload the resource file QSharedPointer<QIODevice> binaryFile(bundle.openFile(Bundle::BINARY)); if (binaryFile) { - upload->uploadFirmwareBinary(recovery, binaryFile.data(), + upload->uploadFirmwareBinary(recovery, binaryFile.data(), bundle.crcFile(Bundle::BINARY), [this, binaryFile]() { binaryFile->close(); qCDebug(l) << "firmware binary upload succesful"; |
