unprotect ethernet USE_WIFI def

This commit is contained in:
Timm Bogner 2023-03-10 09:26:27 -06:00
parent 9e9849069b
commit 4e6866ebc2
2 changed files with 5 additions and 7 deletions

View File

@ -34,7 +34,11 @@
#ifndef INTERNAL_ACT
#define INTERNAL_ACT
#endif
#ifdef USE_ETHERNET
#ifndef USE_WIFI
#define USE_WIFI
#endif
#endif // USE_ETHERNET
SystemPacket theCmd;
DataReading theData[256];

View File

@ -1,9 +1,3 @@
#ifdef USE_ETHERNET
#ifndef USE_WIFI
#define USE_WIFI
#endif
#endif // USE_ETHERNET
#include <WiFiUdp.h>
#ifdef ESP8266
#include <ESP8266WiFi.h>