refactor: remove OTA handling and JSON backup/restore functions

This commit is contained in:
2025-02-21 17:47:25 +01:00
parent a3aef819c8
commit 8a65b86475
3 changed files with 4 additions and 287 deletions

View File

@ -1,18 +0,0 @@
#ifndef OTA_H
#define OTA_H
#include <ESPAsyncWebServer.h>
// Update size unknown constant, falls nicht bereits definiert
#ifndef UPDATE_SIZE_UNKNOWN
#define UPDATE_SIZE_UNKNOWN 0xFFFFFFFF
#endif
void handleOTAUpload(AsyncWebServerRequest *request, const String& filename, size_t index, uint8_t *data, size_t len, bool final);
void checkForStagedUpdate();
void performStageTwo();
void stopAllTasks();
void backupJsonConfigs();
void restoreJsonConfigs();
#endif