fix: update firmware build process and remove unused OTA environment

This commit is contained in:
2025-02-20 19:52:34 +01:00
parent c3040b3c29
commit f552b492cf
4 changed files with 21 additions and 88 deletions

View File

@ -22,7 +22,7 @@ void stopAllTasks() {
void handleOTAUpload(AsyncWebServerRequest *request, String filename, size_t index, uint8_t *data, size_t len, bool final) {
if (!index) {
bool isFullImage = filename.endsWith("full.bin");
bool isFullImage = true;
Serial.printf("Update Start: %s (type: %s)\n", filename.c_str(), isFullImage ? "full" : "OTA");
if (request->contentLength() == 0) {