refactor: initial async web server

This commit is contained in:
Yurii
2025-11-02 11:28:46 +03:00
parent b9010643f0
commit d576969ea4
6 changed files with 512 additions and 680 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,3 @@
#define ARDUINOJSON_USE_DOUBLE 0
#define ARDUINOJSON_USE_LONG_LONG 0
#include <Arduino.h>
#include <ArduinoJson.h>
#include <FileData.h>
@@ -216,7 +213,7 @@ void setup() {
tRegulator = new RegulatorTask(true, 10000);
Scheduler.start(tRegulator);
tPortal = new PortalTask(true, 0);
tPortal = new PortalTask(true, 10);
Scheduler.start(tPortal);
tMain = new MainTask(true, 100);

View File

@@ -164,6 +164,7 @@ const char S_POWER[] PROGMEM = "power";
const char S_PREFIX[] PROGMEM = "prefix";
const char S_PROTOCOL_VERSION[] PROGMEM = "protocolVersion";
const char S_PURPOSE[] PROGMEM = "purpose";
const char S_PSRAM[] PROGMEM = "psram";
const char S_P_FACTOR[] PROGMEM = "p_factor";
const char S_P_MULTIPLIER[] PROGMEM = "p_multiplier";
const char S_REAL_SIZE[] PROGMEM = "realSize";