mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-31 19:05:44 +00:00
intermediate work
This commit is contained in:
parent
35bcb5297a
commit
f7dcef39ce
@ -97,7 +97,7 @@ AirTime::AirTime() : concurrency::OSThread("AirTime") {}
|
||||
|
||||
int32_t AirTime::runOnce()
|
||||
{
|
||||
// DEBUG_MSG("AirTime::runOnce()\n");
|
||||
//DEBUG_MSG("AirTime::runOnce()\n");
|
||||
|
||||
airtimeRotatePeriod();
|
||||
secSinceBoot++;
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "main.h"
|
||||
#include "meshwifi/meshhttp.h"
|
||||
#include "meshwifi/meshwifi.h"
|
||||
#include "meshwifi/WebServerThread.h"
|
||||
#include "mesh/wifi/WebServerThread.h"
|
||||
#include "sleep.h"
|
||||
#include "target_specific.h"
|
||||
#include <OneButton.h>
|
||||
|
@ -1,7 +1,6 @@
|
||||
#include "meshwifi/WebServerThread.h"
|
||||
#include "mesh/wifi/WebServerThread.h"
|
||||
#include <Arduino.h>
|
||||
|
||||
// Thread for the HTTP Server
|
||||
WebServerThread webServerThread;
|
||||
|
||||
WebServerThread::WebServerThread() : concurrency::OSThread("WebServerThread") {}
|
||||
@ -12,3 +11,4 @@ int32_t WebServerThread::runOnce()
|
||||
|
||||
return (1000 * 1);
|
||||
}
|
||||
|
@ -1,10 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "concurrency/OSThread.h"
|
||||
#include "concurrency/Periodic.h"
|
||||
#include "configuration.h"
|
||||
#include <Arduino.h>
|
||||
#include <functional>
|
||||
#include "configuration.h"
|
||||
|
||||
|
||||
class WebServerThread : private concurrency::OSThread
|
||||
@ -13,10 +12,9 @@ class WebServerThread : private concurrency::OSThread
|
||||
public:
|
||||
WebServerThread();
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
virtual int32_t runOnce();
|
||||
};
|
||||
|
||||
extern WebServerThread webServerThread;
|
||||
extern WebServerThread webServerThread;
|
Loading…
Reference in New Issue
Block a user