mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-11 17:30:37 +01:00
Fix: Restart was triggered before all website data was sent
This led to the effect that e.g. the confirmation messages where not shown. It is somehow related to ESPAsyncWebServer 3.3.0
This commit is contained in:
@@ -6,13 +6,9 @@
|
||||
|
||||
class WebApiFirmwareClass {
|
||||
public:
|
||||
WebApiFirmwareClass();
|
||||
void init(AsyncWebServer& server, Scheduler& scheduler);
|
||||
|
||||
private:
|
||||
void onFirmwareUpdateFinish(AsyncWebServerRequest* request);
|
||||
void onFirmwareUpdateUpload(AsyncWebServerRequest* request, String filename, size_t index, uint8_t* data, size_t len, bool final);
|
||||
|
||||
Task _rebootTask;
|
||||
void rebootTaskCb();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user