Cleanup includes

This commit is contained in:
fvanroie 2020-11-14 14:04:45 +01:00
parent 5d915c0641
commit a002cf3485
4 changed files with 3 additions and 15 deletions

View File

@ -6,7 +6,6 @@
#include "ArduinoLog.h"
#include "PubSubClient.h"
#include "hasp_conf.h"
#include "hasp_mqtt.h"
#if defined(ARDUINO_ARCH_ESP32)
@ -37,7 +36,6 @@ EthernetClient mqttNetworkClient;
#include "hasp_tft.h"
#include "hasp_debug.h"
#include "hasp_config.h"
#include "hasp_mqtt.h"
#include "hasp_wifi.h"
#include "hasp_dispatch.h"
#include "hasp.h"

View File

@ -4,21 +4,13 @@
#include "ArduinoJson.h"
#include "ArduinoLog.h"
#include "hasp_conf.h"
#include "hasp_debug.h"
#include "hasp_dispatch.h"
#include "hasp_ota.h"
#include "hasp.h"
#include "hasp_conf.h"
#if HASP_USE_MQTT > 0
#include "hasp_mqtt.h"
#endif
#if HASP_USE_MDNS > 0
#include "hasp_mdns.h"
#endif
#if defined(ARDUINO_ARCH_ESP8266)
#include <ESP8266HTTPClient.h>
#include <ESP8266httpUpdate.h>

View File

@ -9,7 +9,6 @@
#include "hasp_config.h"
#include "hasp_dispatch.h"
#include "hasp_telnet.h"
#include "hasp_conf.h"
#if defined(ARDUINO_ARCH_ESP32)
#include <Wifi.h>

View File

@ -5,9 +5,8 @@
#include "hasp_debug.h"
#include "hasp_config.h"
#include "hasp_gui.h"
#include "hasp.h"
#include "hasp_oobe.h"
#include "hasp_gpio.h"
#include "hasp.h"
bool isConnected;
uint8_t mainLoopCounter = 0;