From 18bb63ec8c87a80330a35a9830bfbc1c371768f8 Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <67171972+IoTManagerProject@users.noreply.github.com> Date: Fri, 14 Jan 2022 15:45:02 +0100 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=B8=D0=BD=D1=85=D1=80=D0=BE=D0=BD?= =?UTF-8?q?=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D1=8F=20Main=20=D1=81=20=D0=B1?= =?UTF-8?q?=D0=BE=D0=BB=D1=8C=D1=88=D0=BE=D0=B9=20=D0=B1=D1=83=D0=BA=D0=B2?= =?UTF-8?q?=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/main.h | 1 + src/main.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/include/main.h b/include/main.h index 75bd2b15..5e426799 100644 --- a/include/main.h +++ b/include/main.h @@ -1,4 +1,5 @@ #pragma once +// #include "EspFileSystem.h" #include "Global.h" #include "Utils/Pretty.h" diff --git a/src/main.cpp b/src/main.cpp index 6c533114..233cff1b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -55,13 +55,16 @@ void loop() { //обновление задач таскера ts.update(); + //отправка json if (mySendJson) mySendJson->loop(); #ifdef STANDARD_WEB_SERVER + //обработка web сервера HTTP.handleClient(); #endif #ifdef STANDARD_WEB_SOCKETS + //обработка web сокетов standWebSocket.loop(); #endif }