1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

OP-1174 OP-1131 moved firmware version check from uploader gadget to uploader plugin - removed test code

This commit is contained in:
Philippe Renon 2014-05-02 23:42:28 +02:00
parent 40dcd94b5c
commit 81b7063f04

View File

@ -95,7 +95,7 @@ void UploaderPlugin::versionMatchCheck()
uavoHashArray.append(str.toInt(&ok, 16)); uavoHashArray.append(str.toInt(&ok, 16));
} }
QByteArray fwVersion = 0;//boardDescription.uavoHash; QByteArray fwVersion = boardDescription.uavoHash;
if (fwVersion != uavoHashArray) { if (fwVersion != uavoHashArray) {
QString gcsDescription = VersionInfo::revision(); QString gcsDescription = VersionInfo::revision();
QString gcsGitHash = gcsDescription.mid(gcsDescription.indexOf(":") + 1, 8); QString gcsGitHash = gcsDescription.mid(gcsDescription.indexOf(":") + 1, 8);