fix standalone

This commit is contained in:
proddy
2025-12-26 16:24:46 +01:00
parent 85ef8d7d50
commit 84bbd93216
2 changed files with 25 additions and 17 deletions

View File

@@ -1721,6 +1721,9 @@ void EMSESP::start() {
LOG_INFO("EMS-ESP version %s", EMSESP_APP_VERSION);
#endif
// check if the firmware is fresh
// this is set in UploadFileService::uploadComplete()
// and reset in System::set_partition_install_date()
if (!EMSESP::nvs_.getBool(EMSESP_NVS_BOOT_NEW_FIRMWARE)) {
LOG_DEBUG("Firmware is fresh");
}