mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-14 20:06:27 +03:00
fix update warning message
This commit is contained in:
@@ -306,7 +306,7 @@ uint8_t WebStatusService::upgradeImportantMessages(std::string & version) {
|
|||||||
return 0; // no upgrade (same version or downgrade)
|
return 0; // no upgrade (same version or downgrade)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (current_version < FirmwareVersion("3.9.0") && latest_version.major() == 3 && latest_version.minor() == 9) {
|
if (current_version < FirmwareVersion("3.9.0-dev.0") && latest_version.major() == 3 && latest_version.minor() == 9) {
|
||||||
return 1; // upgrading to 3.9.x from anything older - new partition layout warning
|
return 1; // upgrading to 3.9.x from anything older - new partition layout warning
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user