sforkowany z mirror/meshtastic-firmware
intermediate
rodzic
f7dcef39ce
commit
0af5b225c4
|
@ -0,0 +1,14 @@
|
||||||
|
#include "JMTest.h"
|
||||||
|
#include <Arduino.h>
|
||||||
|
|
||||||
|
JMTest jMTest;
|
||||||
|
|
||||||
|
JMTest::JMTest() : concurrency::OSThread("JMTest") {}
|
||||||
|
|
||||||
|
int32_t JMTest::runOnce()
|
||||||
|
{
|
||||||
|
DEBUG_MSG("JMTest::runOnce()\n");
|
||||||
|
|
||||||
|
return (1000);
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "concurrency/OSThread.h"
|
||||||
|
#include "configuration.h"
|
||||||
|
#include <Arduino.h>
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
|
|
||||||
|
class JMTest : private concurrency::OSThread
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
JMTest();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
|
||||||
|
virtual int32_t runOnce();
|
||||||
|
};
|
||||||
|
|
||||||
|
extern JMTest jMTest;
|
Ładowanie…
Reference in New Issue