diff --git a/src/main.cpp b/src/main.cpp index 7b5804d..e95d555 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -136,7 +136,9 @@ void setup() { } #ifdef OTA_UPDATE_URL - Updater::run(spiffs_version); + if (spiffs_version < OTA_VERSION) { + Updater::run(spiffs_version); + } #endif INFO("Initialization completed.\n");