mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-19 17:26:38 +00:00
Update include headers
This commit is contained in:
parent
17b71dbe24
commit
b9e0a2fb30
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include "Arduino.h"
|
#include <Arduino.h>
|
||||||
|
|
||||||
#include "stm32f4xx.h"
|
#include "stm32f4xx.h"
|
||||||
//#include "stm32f429i_discovery.h"
|
//#include "stm32f429i_discovery.h"
|
||||||
|
@ -169,7 +169,7 @@
|
|||||||
#include "Windows.h"
|
#include "Windows.h"
|
||||||
#elif defined(POSIX)
|
#elif defined(POSIX)
|
||||||
#else
|
#else
|
||||||
#include "Arduino.h"
|
#include <Arduino.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HASP_USE_SPIFFS > 0
|
#if HASP_USE_SPIFFS > 0
|
||||||
|
@ -17,7 +17,7 @@ Licensed under the MIT License <http://opensource.org/licenses/MIT>.
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#if defined(ARDUINO) && ARDUINO >= 100
|
||||||
#include "Arduino.h"
|
#include <Arduino.h>
|
||||||
#else
|
#else
|
||||||
#include "WProgram.h"
|
#include "WProgram.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
// Code under MIT License
|
// Code under MIT License
|
||||||
// Code under MIT License
|
// Code under MIT License
|
||||||
|
|
||||||
#include "Arduino.h"
|
#include <Arduino.h>
|
||||||
#include "pins_arduino.h"
|
#include "pins_arduino.h"
|
||||||
|
|
||||||
#ifdef __AVR
|
#ifdef __AVR
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#ifndef _XPT2046_Touchscreen_h_
|
#ifndef _XPT2046_Touchscreen_h_
|
||||||
#define _XPT2046_Touchscreen_h_
|
#define _XPT2046_Touchscreen_h_
|
||||||
|
|
||||||
#include "Arduino.h"
|
#include <Arduino.h>
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
|
|
||||||
#if ARDUINO < 10600
|
#if ARDUINO < 10600
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* out of or in connection with the Software or the use or other dealings in the
|
* out of or in connection with the Software or the use or other dealings in the
|
||||||
* Software.
|
* Software.
|
||||||
*/
|
*/
|
||||||
#include "Arduino.h" // for PROGMEM
|
#include <Arduino.h> // for PROGMEM
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#if defined(ESP32)
|
#if defined(ESP32)
|
||||||
|
|
||||||
#include "Arduino.h"
|
#include <Arduino.h>
|
||||||
#include <Esp.h>
|
#include <Esp.h>
|
||||||
#include <WiFi.h>
|
#include <WiFi.h>
|
||||||
#include "esp_system.h"
|
#include "esp_system.h"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#if defined(LANBONL8)
|
#if defined(LANBONL8)
|
||||||
|
|
||||||
#include "Arduino.h"
|
#include <Arduino.h>
|
||||||
#include "dev/esp32/esp32.h"
|
#include "dev/esp32/esp32.h"
|
||||||
|
|
||||||
#include "driver/pcnt.h" // Pulse count driver
|
#include "driver/pcnt.h" // Pulse count driver
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#if defined(ESP8266)
|
#if defined(ESP8266)
|
||||||
|
|
||||||
#include "Arduino.h"
|
#include <Arduino.h>
|
||||||
#include <Esp.h>
|
#include <Esp.h>
|
||||||
#include <ESP8266WiFi.h>
|
#include <ESP8266WiFi.h>
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#if defined(STM32F4xx)
|
#if defined(STM32F4xx)
|
||||||
|
|
||||||
#include "Arduino.h"
|
#include <Arduino.h>
|
||||||
|
|
||||||
#include "stm32f4.h"
|
#include "stm32f4.h"
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#if defined(STM32F7xx)
|
#if defined(STM32F7xx)
|
||||||
|
|
||||||
#include "Arduino.h"
|
#include <Arduino.h>
|
||||||
|
|
||||||
#include "stm32f7.h"
|
#include "stm32f7.h"
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#define HASP_H
|
#define HASP_H
|
||||||
|
|
||||||
#ifdef ARDUINO
|
#ifdef ARDUINO
|
||||||
#include "Arduino.h"
|
#include <Arduino.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "hasplib.h"
|
#include "hasplib.h"
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
For full license information read the LICENSE file in the project folder */
|
For full license information read the LICENSE file in the project folder */
|
||||||
|
|
||||||
#include "hasplib.h"
|
#include "hasplib.h"
|
||||||
|
#include "hasp_filesystem.h"
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
#if defined(ARDUINO)
|
#if defined(ARDUINO)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#ifdef ARDUINO
|
#ifdef ARDUINO
|
||||||
#include "pgmspace.h"
|
#include "pgmspace.h"
|
||||||
#include "Arduino.h"
|
#include <Arduino.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "hasplib.h"
|
#include "hasplib.h"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#if HASP_USE_EEPROM > 0
|
#if HASP_USE_EEPROM > 0
|
||||||
|
|
||||||
#ifdef ARDUINO
|
#ifdef ARDUINO
|
||||||
#include "Arduino.h"
|
#include <Arduino.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "EEPROM.h"
|
#include "EEPROM.h"
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#ifndef ESP_ARDUINO_VERSION_VAL
|
#ifndef ESP_ARDUINO_VERSION_VAL
|
||||||
#define ESP_ARDUINO_VERSION_VAL(major, minor, patch) ((major << 16) | (minor << 8) | (patch))
|
#define ESP_ARDUINO_VERSION_VAL(major, minor, patch) ((major << 16) | (minor << 8) | (patch))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <WiFi.h>
|
#include <WiFi.h>
|
||||||
#elif defined(ARDUINO_ARCH_ESP8266)
|
#elif defined(ARDUINO_ARCH_ESP8266)
|
||||||
#include <ESP8266WiFi.h>
|
#include <ESP8266WiFi.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user