mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Move #include "ArduinoLog.h" to hasplib.h
This commit is contained in:
parent
c568187ff4
commit
3fa03f11f8
@ -4,8 +4,6 @@
|
||||
#ifndef HASP_CONF_H
|
||||
#define HASP_CONF_H
|
||||
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
#ifdef USE_CONFIG_OVERRIDE
|
||||
#include "user_config_override.h"
|
||||
#endif
|
||||
|
@ -5,12 +5,11 @@
|
||||
#define HASP_ANALOG_TOUCH_DRIVER_H
|
||||
|
||||
#ifdef ARDUINO
|
||||
#include <Arduino.h>
|
||||
#include "ArduinoLog.h"
|
||||
#include "hasp_conf.h"
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "hasp_drv_analogTouch.h"
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
#include "touch_driver.h" // base class
|
||||
|
||||
#include "../../hasp/hasp.h" // for hasp_sleep_state
|
||||
|
@ -5,12 +5,12 @@
|
||||
#define HASP_FT6336T_TOUCH_DRIVER_H
|
||||
|
||||
#ifdef ARDUINO
|
||||
#include <Arduino.h>
|
||||
#include "ArduinoLog.h"
|
||||
#include "hasp_conf.h"
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <Wire.h>
|
||||
#include "FT6336U.h"
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
#include "touch_driver.h" // base class
|
||||
#include "touch_helper.h" // i2c scanner
|
||||
|
@ -5,12 +5,12 @@
|
||||
#define HASP_GSL1680_TOUCH_DRIVER_H
|
||||
|
||||
#ifdef ARDUINO
|
||||
#include <Arduino.h>
|
||||
#include "ArduinoLog.h"
|
||||
#include "hasp_conf.h"
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <Wire.h>
|
||||
#include "GSL2038.h"
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
#include "touch_driver.h" // base class
|
||||
#include "touch_helper.h" // i2c scanner
|
||||
|
@ -5,12 +5,12 @@
|
||||
#define HASP_GT911_TOUCH_DRIVER_H
|
||||
|
||||
#ifdef ARDUINO
|
||||
#include <Arduino.h>
|
||||
#include "ArduinoLog.h"
|
||||
#include "hasp_conf.h"
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <Wire.h>
|
||||
#include "Goodix.h"
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
#include "touch_driver.h" // base class
|
||||
#include "touch_helper.h" // i2c scanner
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include <Arduino.h>
|
||||
#include <SPI.h>
|
||||
#include "Adafruit_STMPE610.h"
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
#include "touch_driver.h" // base class
|
||||
|
||||
|
@ -6,8 +6,10 @@
|
||||
|
||||
#ifdef ARDUINO
|
||||
#include <Arduino.h>
|
||||
#include <Wire.h>
|
||||
#include "ArduinoLog.h"
|
||||
#include "hasp_conf.h"
|
||||
|
||||
#include <Wire.h>
|
||||
#include "hasp_debug.h"
|
||||
|
||||
void touch_scan(TwoWire& i2c)
|
||||
|
@ -1,10 +1,6 @@
|
||||
/* MIT License - Copyright (c) 2019-2022 Francis Van Roie
|
||||
For full license information read the LICENSE file in the project folder */
|
||||
|
||||
#ifdef ARDUINO
|
||||
#include "ArduinoLog.h"
|
||||
#endif
|
||||
|
||||
#include "hasplib.h"
|
||||
#include "hasp_attribute_helper.h"
|
||||
|
||||
|
@ -11,10 +11,6 @@
|
||||
*
|
||||
******************************************************************************************** */
|
||||
|
||||
#ifdef ARDUINO
|
||||
#include "ArduinoLog.h"
|
||||
#endif
|
||||
|
||||
#include "hasplib.h"
|
||||
|
||||
const char** btnmatrix_default_map; // memory pointer to lvgl default btnmatrix map
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include "hasp_macro.h"
|
||||
|
||||
#if(!defined(WINDOWS)) && (!defined(POSIX))
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
#define debug_print(io, ...) io->printf(__VA_ARGS__)
|
||||
#define debug_newline(io) io->println()
|
||||
|
@ -4,6 +4,10 @@
|
||||
#ifndef HASP_DEBUG_H
|
||||
#define HASP_DEBUG_H
|
||||
|
||||
#ifdef ARDUINO
|
||||
#include "ArduinoLog.h"
|
||||
#endif
|
||||
|
||||
#include "hasp_conf.h"
|
||||
|
||||
#include "ArduinoJson.h"
|
||||
@ -14,8 +18,6 @@
|
||||
#include "lang/lang.h"
|
||||
|
||||
#if(!defined(WINDOWS)) && (!defined(POSIX))
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
/* ===== Default Event Processors ===== */
|
||||
void debugSetup(JsonObject settings);
|
||||
|
||||
|
@ -1,6 +1,10 @@
|
||||
/* MIT License - Copyright (c) 2019-2022 Francis Van Roie
|
||||
For full license information read the LICENSE file in the project folder */
|
||||
|
||||
#ifdef ARDUINO
|
||||
#include "ArduinoLog.h"
|
||||
#endif
|
||||
|
||||
#include "hasp_conf.h" // include first
|
||||
|
||||
#if HASP_USE_SPIFFS > 0 || HASP_USE_LITTLEFS > 0
|
||||
|
@ -3,6 +3,11 @@
|
||||
|
||||
#ifdef ARDUINO
|
||||
#include <Arduino.h>
|
||||
#include "ArduinoLog.h"
|
||||
#endif
|
||||
|
||||
#ifdef USE_CONFIG_OVERRIDE
|
||||
#include "user_config_override.h"
|
||||
#endif
|
||||
|
||||
#include <cstdlib>
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include "sys/net/hasp_network.h"
|
||||
#include "sys/net/hasp_time.h"
|
||||
#include "dev/device.h"
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
#if HASP_USE_CONFIG > 0
|
||||
#include "hasp_debug.h"
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
#include "hasp_conf.h"
|
||||
|
||||
#include "hal/hasp_hal.h"
|
||||
#include "hasp_debug.h"
|
||||
#include "hasp_config.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user