mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-08 10:57:51 +00:00
that's enough for tonight. web server is in its own thread, needs to be further optimized but it works enough. next is to refactor.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "mesh/wifi/WebServerThread.h"
|
||||
#include "meshwifi/meshhttp.h"
|
||||
#include <Arduino.h>
|
||||
|
||||
WebServerThread *webServerThread;
|
||||
@@ -7,8 +8,10 @@ WebServerThread::WebServerThread() : concurrency::OSThread("WebServerThread") {}
|
||||
|
||||
int32_t WebServerThread::runOnce()
|
||||
{
|
||||
DEBUG_MSG("WebServerThread::runOnce()\n");
|
||||
//DEBUG_MSG("WebServerThread::runOnce()\n");
|
||||
handleWebResponse();
|
||||
|
||||
return (1000 * 1);
|
||||
// Loop every 5ms.
|
||||
return (5);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user