intermediate work

This commit is contained in:
Jm
2021-01-05 23:21:14 -08:00
parent 35bcb5297a
commit f7dcef39ce
4 changed files with 6 additions and 8 deletions

View File

@@ -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);
}

View File

@@ -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;