mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 12:00:13 +02:00
Fix compilation in header file
This commit is contained in:
parent
18be0ead1b
commit
ee055a586e
1 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ _____ _ _ ___ _____ _
|
|||
#include "elop.h"
|
||||
|
||||
#ifndef ELEGANTOTA_USE_ASYNC_WEBSERVER
|
||||
#define ELEGANTOTA_USE_ASYNC_WEBSERVER 0
|
||||
#define ELEGANTOTA_USE_ASYNC_WEBSERVER 1
|
||||
#endif
|
||||
|
||||
#ifndef ELEGANTOTA_DEBUG
|
||||
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue