mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-26 04:36:38 +00:00
Fix WiFi.h include
This commit is contained in:
parent
d9fd151849
commit
8ad8a41722
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#if defined(ESP32)
|
#if defined(ESP32)
|
||||||
#include <Esp.h>
|
#include <Esp.h>
|
||||||
#include <Wifi.h>
|
#include <WiFi.h>
|
||||||
#include "esp_system.h"
|
#include "esp_system.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include "hasp_mqtt.h"
|
#include "hasp_mqtt.h"
|
||||||
|
|
||||||
#if defined(ARDUINO_ARCH_ESP32)
|
#if defined(ARDUINO_ARCH_ESP32)
|
||||||
#include <Wifi.h>
|
#include <WiFi.h>
|
||||||
WiFiClient mqttNetworkClient;
|
WiFiClient mqttNetworkClient;
|
||||||
#elif defined(ARDUINO_ARCH_ESP8266)
|
#elif defined(ARDUINO_ARCH_ESP8266)
|
||||||
#include <ESP8266WiFi.h>
|
#include <ESP8266WiFi.h>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include "hasp_telnet.h"
|
#include "hasp_telnet.h"
|
||||||
|
|
||||||
#if defined(ARDUINO_ARCH_ESP32)
|
#if defined(ARDUINO_ARCH_ESP32)
|
||||||
#include <Wifi.h>
|
#include <WiFi.h>
|
||||||
WiFiClient telnetClient;
|
WiFiClient telnetClient;
|
||||||
static WiFiServer * telnetServer;
|
static WiFiServer * telnetServer;
|
||||||
#elif defined(ARDUINO_ARCH_ESP8266)
|
#elif defined(ARDUINO_ARCH_ESP8266)
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include "hasp.h"
|
#include "hasp.h"
|
||||||
|
|
||||||
#if defined(ARDUINO_ARCH_ESP32)
|
#if defined(ARDUINO_ARCH_ESP32)
|
||||||
#include <Wifi.h>
|
#include <WiFi.h>
|
||||||
#elif defined(ARDUINO_ARCH_ESP8266)
|
#elif defined(ARDUINO_ARCH_ESP8266)
|
||||||
#include <ESP8266WiFi.h>
|
#include <ESP8266WiFi.h>
|
||||||
#include "user_interface.h" // Wifi Reasons
|
#include "user_interface.h" // Wifi Reasons
|
||||||
|
Loading…
x
Reference in New Issue
Block a user