рабочая для 8266 версия

This commit is contained in:
Dmitry Borisenko
2021-12-24 01:26:50 +01:00
parent 756363397b
commit dbe11162e5
5 changed files with 26 additions and 3 deletions

View File

@@ -8,9 +8,10 @@
#include <TickerScheduler.h>
#ifdef ESP32
#include <WiFi.h>
#include "WiFi.h"
#include <HTTPClient.h>
#include <HTTPUpdate.h>
#endif
#ifdef ESP8266
@@ -34,8 +35,10 @@
#ifdef STANDARD_WEB_SOCKETS
#include <WebSocketsServer.h>
#ifdef ESP8266
#include <Hash.h>
#endif
#endif
#include <FS.h>
@@ -49,6 +52,7 @@
**********************************************************************************************************************/
extern TickerScheduler ts;
extern WiFiClient espClient;
#ifdef ASYNC_WEB_SERVER
extern AsyncWebServer server;
#endif

View File

@@ -19,4 +19,7 @@ extern void handleFileList();
#ifdef STANDARD_WEB_SOCKETS
extern void standWebSocketsInit();
extern void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length);
#ifdef ESP32
extern void hexdump(const void* mem, uint32_t len, uint8_t cols);
#endif
#endif