mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-08 13:10:29 +00:00
unprotect ethernet USE_WIFI def
This commit is contained in:
parent
9e9849069b
commit
4e6866ebc2
@ -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];
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user