Fixed OTA
This commit is contained in:
@@ -71,6 +71,6 @@ void setup_api_endpoints(){
|
|||||||
};
|
};
|
||||||
|
|
||||||
xTaskCreate(run_ota_update_task, "RunOTAUpdate", 1024 * 8, (void *)&args, 1, NULL);
|
xTaskCreate(run_ota_update_task, "RunOTAUpdate", 1024 * 8, (void *)&args, 1, NULL);
|
||||||
request->send(SPIFFS, "/update_progress.html", "text/html", false, processor);
|
request->send(LittleFS, "/update_progress.html", "text/html", false, processor);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
#include <ESPAsyncWebServer.h>
|
#include <ESPAsyncWebServer.h>
|
||||||
|
#include <LittleFS.h>
|
||||||
|
|
||||||
void setup_api_endpoints();
|
void setup_api_endpoints();
|
||||||
Reference in New Issue
Block a user