добавил возможность отключать веб сервер

This commit is contained in:
Dmitry Borisenko
2021-12-23 18:18:32 +01:00
parent 667b30dcf9
commit 940a5a7ee9
6 changed files with 33 additions and 8 deletions

View File

@@ -1,4 +1,6 @@
#pragma once
//константы
#include "Const.h"
//внешние глобальные директории
#include <Arduino.h>
@@ -15,18 +17,22 @@
#include <ESP8266httpUpdate.h>
#endif
#ifdef ACYNC_WEB_SERVER
#include <ESPAsyncWebServer.h>
#endif
#include <FS.h>
//внутренние глобальные директории проекта
#include "Const.h"
#include "Utils/FileUtils.h"
#include "Utils/JsonUtils.h"
#include "Utils/SerialPrint.h"
//глобальные объекты классов
extern TickerScheduler ts;
#ifdef ACYNC_WEB_SERVER
extern AsyncWebServer server;
#endif
//глобальные переменные
extern String settingsFlashJson;