diff --git a/ScStwLibraries/sources/scstwclient.cpp b/ScStwLibraries/sources/scstwclient.cpp index e011442..8cd17e2 100644 --- a/ScStwLibraries/sources/scstwclient.cpp +++ b/ScStwLibraries/sources/scstwclient.cpp @@ -413,7 +413,7 @@ bool ScStwClient::isFirmwareUpToDate() { QString newFirmwareVersion = fileContents.split("")[1].split("")[0]; QString currentFirmwareVersion = this->firmwareVersion; - return ScStw::firmwareCompare(currentFirmwareVersion, newFirmwareVersion) < 0; + return ScStw::firmwareCompare(newFirmwareVersion, currentFirmwareVersion) <= 0; } // ------------------------