Factored out webserver stuff to own task/file

This commit is contained in:
2026-03-30 17:08:36 +02:00
parent cfc8438042
commit e5fecde7f5
5 changed files with 225 additions and 166 deletions
+13
View File
@@ -0,0 +1,13 @@
#ifndef ASYNC_WEBSERVER_H
#define ASYNC_WEBSERVER_H
#endif // ASYNC_WEBSERVER_H
#include <ESPAsyncWebServer.h>
#include <LittleFS.h>
extern AsyncWebServer server;
void setup_api_endpoints();
void setup_routes();
void webserver_task(void *pvParameters);