Unly call Updater on startup if the SPIFFS needs an update.
This commit is contained in:
parent
7a20cf4b04
commit
6445dc0fb8
@ -136,7 +136,9 @@ void setup() {
|
||||
}
|
||||
|
||||
#ifdef OTA_UPDATE_URL
|
||||
if (spiffs_version < OTA_VERSION) {
|
||||
Updater::run(spiffs_version);
|
||||
}
|
||||
#endif
|
||||
|
||||
INFO("Initialization completed.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user