mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-23 14:53:07 +05:00
refactor: remove ESP8266 support and legacy flash wrappers
This commit is contained in:
1 parent
959a15c11f
commit
b72bccb3d7
24 files changed
+2027
-2415
No files matched your search
@@ -1,9 +1,4 @@
|
||||
#if defined(ARDUINO_ARCH_ESP8266)
|
||||
#include <ESP8266WiFi.h>
|
||||
#include "lwip/etharp.h"
|
||||
#elif defined(ARDUINO_ARCH_ESP32)
|
||||
#include <WiFi.h>
|
||||
#endif
|
||||
#include <WiFi.h>
|
||||
|
||||
namespace NetworkUtils {
|
||||
struct NetworkConnection {
|
||||
@@ -34,11 +29,7 @@ namespace NetworkUtils {
|
||||
static void reset();
|
||||
static Status getStatus();
|
||||
static DisconnectReason getDisconnectReason();
|
||||
#if defined(ARDUINO_ARCH_ESP8266)
|
||||
static void onEvent(System_Event_t *evt);
|
||||
#elif defined(ARDUINO_ARCH_ESP32)
|
||||
static void onEvent(WiFiEvent_t event, WiFiEventInfo_t info);
|
||||
#endif
|
||||
|
||||
protected:
|
||||
static DisconnectReason convertDisconnectReason(uint8_t reason);
|
||||
|
||||
Reference in new issue
Block a user