intermediate work
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#include "mesh/wifi/WebServerThread.h"
|
||||
#include <Arduino.h>
|
||||
|
||||
WebServerThread webServerThread;
|
||||
|
||||
WebServerThread::WebServerThread() : concurrency::OSThread("WebServerThread") {}
|
||||
|
||||
int32_t WebServerThread::runOnce()
|
||||
{
|
||||
DEBUG_MSG("WebServerThread::runOnce()\n");
|
||||
|
||||
return (1000 * 1);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "concurrency/OSThread.h"
|
||||
#include "configuration.h"
|
||||
#include <Arduino.h>
|
||||
#include <functional>
|
||||
|
||||
|
||||
class WebServerThread : private concurrency::OSThread
|
||||
{
|
||||
|
||||
public:
|
||||
WebServerThread();
|
||||
|
||||
protected:
|
||||
|
||||
virtual int32_t runOnce();
|
||||
};
|
||||
|
||||
extern WebServerThread webServerThread;
|
||||
Reference in New Issue
Block a user