modify ElegantOTA library such that it works correctly in this repository

This commit is contained in:
lenvm 2023-11-22 22:53:27 +01:00
parent ed1b6e75c7
commit 16d38fd481

View file

@ -64,8 +64,8 @@ _____ _ _ ___ _____ _
#include "Update.h"
#include "StreamString.h"
#if ELEGANTOTA_USE_ASYNC_WEBSERVER == 1
#include "AsyncTCP.h"
#include "ESPAsyncWebServer.h"
#include "../../me-no-dev-AsyncTCP/src/AsyncTCP.h"
#include "../../me-no-dev-ESPAsyncWebServer/src/ESPAsyncWebServer.h"
#define ELEGANTOTA_WEBSERVER AsyncWebServer
#else
#include "WiFi.h"