From ba1cc54d2e1e5083b145726fc260c1de04abbd0c Mon Sep 17 00:00:00 2001 From: Kai Lauterbach Date: Thu, 10 Nov 2022 14:00:13 +0100 Subject: [PATCH] Cleaned include list in main firmware file. --- firmware/firmware.ino | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/firmware/firmware.ino b/firmware/firmware.ino index d12bdf5..4ba6f97 100644 --- a/firmware/firmware.ino +++ b/firmware/firmware.ino @@ -1,10 +1,6 @@ // Standard ESP8266 libs from project folder #include -#include #include -#include -#include -#include #include // WiFiClient @@ -17,6 +13,14 @@ #include // WiFiManager from bib manager #endif +#ifdef HTTP_CALL_ON_WINDSPEED_EXCEED +#include +#endif + +#ifdef HTTP_CALL_SEND_JSON_DATA +#include +#endif + //*************************************************************************// // check if some settings are correct