Working on migrating to using websockets for the UI

This commit is contained in:
2026-08-08 22:07:25 -06:00
parent 3946e464c9
commit 8c53ba5298
10 changed files with 79 additions and 14 deletions
+6 -3
View File
@@ -3,8 +3,9 @@
#include <Arduino.h>
#include "services/service_manager.h"
#include "core/dashboard_state.h"
#include "services/service_manager.h"
#include "services/wifi_service.h"
#include "services/ota_service.h"
#include "services/web_service.h"
@@ -12,12 +13,15 @@
#include "tasks/system_task.h"
DashboardState dashboardState;
ServiceManager services;
WiFiService wifi;
OTAService ota;
WebService web;
WebService web(dashboardState);
SystemTask systemTask(services);
@@ -28,7 +32,6 @@ void setup()
{
Serial.begin(115200);
services.add(&wifi);
services.add(&ota);
services.add(&web);