This commit is contained in:
Dmitry Borisenko
2021-12-21 22:10:35 +01:00
parent 715d20c21f
commit 70add780bd
71 changed files with 972 additions and 9927 deletions

View File

@@ -20,6 +20,7 @@
#include "Utils/Timings.h"
#include "Utils/WebUtils.h"
#include "WebServer.h"
#include "WebSocket.h"
#include "items/ButtonInClass.h"
#include "items/vCountDown.h"
#include "items/vImpulsOut.h"
@@ -52,6 +53,8 @@ void setup() {
myNotAsyncActions = new NotAsync(do_LAST);
myScenario = new Scenario();
wsInit();
//=========================================initialisation==============================================================
setChipId();
fileSystemInit();
@@ -84,7 +87,7 @@ void setup() {
getFSInfo();
// testsPerform();
testsPerform();
just_load = false;
initialized = true;
@@ -100,8 +103,6 @@ void setup() {
// setupESP();
sendEspSetupToWS();
SerialPrint("I", F("System"), F("✔ Initialization completed"));
}
@@ -109,6 +110,16 @@ void loop() {
if (!initialized) {
return;
}
testLoop();
// if (wsSetupFlag) {
// wsSetupFlag = false;
// wsSendSetup();
//}
// loopWsExecute();
#ifdef OTA_UPDATES_ENABLED
ArduinoOTA.handle();
#endif