Minor simplification of includes
This commit is contained in:
		| @@ -1,9 +1,9 @@ | ||||
| #ifndef APSettingsConfig_h | ||||
| #define APSettingsConfig_h | ||||
|  | ||||
| #include <SettingsService.h> | ||||
| #include <DNSServer.h> | ||||
| #include <IPAddress.h> | ||||
| #include <SettingsService.h> | ||||
|  | ||||
| #define MANAGE_NETWORK_DELAY 10000 | ||||
|  | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| #ifndef _AsyncJsonCallbackResponse_H_ | ||||
| #define _AsyncJsonCallbackResponse_H_ | ||||
|  | ||||
| #include <AsyncJson.h> | ||||
| #include <ESPAsyncWebServer.h> | ||||
| #include <AsyncJson.h> | ||||
|  | ||||
| /* | ||||
| * Listens for a response being destroyed and calls a callback during said distruction. | ||||
|   | ||||
| @@ -1,5 +1,6 @@ | ||||
| #ifndef Async_Json_Request_Web_Handler_H_ | ||||
| #define Async_Json_Request_Web_Handler_H_ | ||||
|  | ||||
| #include <ArduinoJson.h> | ||||
|  | ||||
| #define ASYNC_JSON_REQUEST_DEFAULT_MAX_SIZE 1024 | ||||
|   | ||||
| @@ -2,7 +2,6 @@ | ||||
| #define NTPSettingsService_h | ||||
|  | ||||
| #include <SettingsService.h> | ||||
| #include <ESP8266WiFi.h> | ||||
|  | ||||
| #include <TimeLib.h> | ||||
| #include <NtpClientLib.h> | ||||
|   | ||||
| @@ -2,7 +2,6 @@ | ||||
| #define OTASettingsService_h | ||||
|  | ||||
| #include <SettingsService.h> | ||||
| #include <ESP8266WiFi.h> // ?? | ||||
| #include <ESP8266mDNS.h> | ||||
| #include <WiFiUdp.h> | ||||
| #include <ArduinoOTA.h> | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| #ifndef WiFiSettingsService_h | ||||
| #define WiFiSettingsService_h | ||||
|  | ||||
| #include <IPAddress.h> | ||||
| #include <SettingsService.h> | ||||
| #include <IPAddress.h> | ||||
|  | ||||
| #define WIFI_SETTINGS_FILE "/config/wifiSettings.json" | ||||
| #define WIFI_SETTINGS_SERVICE_PATH "/rest/wifiSettings" | ||||
|   | ||||
| @@ -1,7 +1,9 @@ | ||||
| #include <Arduino.h> | ||||
|  | ||||
| #include <ESPAsyncTCP.h> | ||||
| #include <ESPAsyncWebServer.h> | ||||
| #include <FS.h> | ||||
|  | ||||
| #include <WiFiSettingsService.h> | ||||
| #include <WiFiStatus.h> | ||||
| #include <WiFiScanner.h> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user