fix to firmware comparison
This commit is contained in:
parent
9d6cf5ab38
commit
7a960fbcfa
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ bool ScStwClient::isFirmwareUpToDate() {
|
|||
QString newFirmwareVersion = fileContents.split("<VER>")[1].split("</VER>")[0];
|
||||
QString currentFirmwareVersion = this->firmwareVersion;
|
||||
|
||||
return ScStw::firmwareCompare(currentFirmwareVersion, newFirmwareVersion) < 0;
|
||||
return ScStw::firmwareCompare(newFirmwareVersion, currentFirmwareVersion) <= 0;
|
||||
}
|
||||
|
||||
// ------------------------
|
||||
|
|
Reference in a new issue