mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-23 11:16:45 +00:00
Fix Esp.h includes
This commit is contained in:
parent
92aeebce73
commit
51ca8ca68b
@ -1,3 +1,6 @@
|
||||
/* MIT License - Copyright (c) 2020 Francis Van Roie
|
||||
For full license information read the LICENSE file in the project folder */
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "ArduinoJson.h"
|
||||
#include "ArduinoLog.h"
|
||||
|
@ -1,3 +1,6 @@
|
||||
/* MIT License - Copyright (c) 2020 Francis Van Roie
|
||||
For full license information read the LICENSE file in the project folder */
|
||||
|
||||
#ifndef HASP_FILESYSTEM_H
|
||||
#define HASP_FILESYSTEM_H
|
||||
|
||||
@ -20,7 +23,7 @@ void filesystemInfo();
|
||||
|
||||
#if defined(ARDUINO_ARCH_ESP8266) || defined(ARDUINO_ARCH_ESP32)
|
||||
#include <FS.h>
|
||||
#include <ESP.h>
|
||||
#include <Esp.h>
|
||||
|
||||
#if HASP_USE_SPIFFS > 0
|
||||
#define HASP_FS SPIFFS
|
||||
|
@ -1,13 +1,16 @@
|
||||
/* MIT License - Copyright (c) 2020 Francis Van Roie
|
||||
For full license information read the LICENSE file in the project folder */
|
||||
|
||||
#include "hasp_hal.h"
|
||||
#include "hasp_conf.h"
|
||||
|
||||
#if defined(ESP8266)
|
||||
#include <ESP.h>
|
||||
#include <Esp.h>
|
||||
#include <ESP8266WiFi.h>
|
||||
#endif
|
||||
|
||||
#if defined(ESP32)
|
||||
#include <ESP.h>
|
||||
#include <Esp.h>
|
||||
#include <Wifi.h>
|
||||
#include "esp_system.h"
|
||||
#endif
|
||||
|
@ -1,3 +1,6 @@
|
||||
/* MIT License - Copyright (c) 2020 Francis Van Roie
|
||||
For full license information read the LICENSE file in the project folder */
|
||||
|
||||
#ifndef HASP_HAL_H
|
||||
#define HASP_HAL_H
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
/* MIT License - Copyright (c) 2020 Francis Van Roie
|
||||
For full license information read the LICENSE file in the project folder */
|
||||
|
||||
#include "hasp_conf.h"
|
||||
#if HASP_USE_MQTT > 0
|
||||
|
||||
@ -14,7 +17,7 @@ WiFiClient mqttNetworkClient;
|
||||
#elif defined(ARDUINO_ARCH_ESP8266)
|
||||
#include <ESP8266WiFi.h>
|
||||
#include <EEPROM.h>
|
||||
#include <ESP.h>
|
||||
#include <Esp.h>
|
||||
WiFiClient mqttNetworkClient;
|
||||
#else
|
||||
#if defined(STM32F4xx) && HASP_USE_WIFI > 0
|
||||
|
@ -1,3 +1,6 @@
|
||||
/* MIT License - Copyright (c) 2020 Francis Van Roie
|
||||
For full license information read the LICENSE file in the project folder */
|
||||
|
||||
#ifndef HASP_MQTT_H
|
||||
#define HASP_MQTT_H
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user