добавил возможность отключать веб сервер

This commit is contained in:
Dmitry Borisenko
2021-12-23 18:18:32 +01:00
parent 667b30dcf9
commit 940a5a7ee9
6 changed files with 33 additions and 8 deletions

View File

@@ -1,10 +1,10 @@
#pragma once
#include "Global.h"
#ifdef ACYNC_WEB_SERVER
extern AsyncWebSocket ws;
extern AsyncEventSource events;
void webServerInit();
void webSocketsInit();
void onWsEvent(AsyncWebSocket *server, AsyncWebSocketClient *client, AwsEventType type, void *arg, uint8_t *data, size_t len);
#endif