Factored out webserver stuff to own task/file
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user