Cleaned include list in main firmware file.

This commit is contained in:
Kai Lauterbach 2022-11-10 14:00:13 +01:00
parent a009a19261
commit ba1cc54d2e
1 changed files with 8 additions and 4 deletions

View File

@ -1,10 +1,6 @@
// Standard ESP8266 libs from project folder
#include <ESP8266mDNS.h>
#include <ESP8266HTTPUpdateServer.h>
#include <ESP8266WiFi.h>
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <ESP8266HTTPClient.h>
#include <WiFiClient.h> // WiFiClient
@ -17,6 +13,14 @@
#include <WiFiManager.h> // WiFiManager from bib manager
#endif
#ifdef HTTP_CALL_ON_WINDSPEED_EXCEED
#include <ESP8266HTTPClient.h>
#endif
#ifdef HTTP_CALL_SEND_JSON_DATA
#include <ESP8266HTTPClient.h>
#endif
//*************************************************************************//
// check if some settings are correct