diff --git a/src/JMTest.cpp b/src/JMTest.cpp new file mode 100644 index 00000000..1f2877af --- /dev/null +++ b/src/JMTest.cpp @@ -0,0 +1,14 @@ +#include "JMTest.h" +#include + +JMTest jMTest; + +JMTest::JMTest() : concurrency::OSThread("JMTest") {} + +int32_t JMTest::runOnce() +{ + DEBUG_MSG("JMTest::runOnce()\n"); + + return (1000); +} + diff --git a/src/JMTest.h b/src/JMTest.h new file mode 100644 index 00000000..dfb87345 --- /dev/null +++ b/src/JMTest.h @@ -0,0 +1,20 @@ +#pragma once + +#include "concurrency/OSThread.h" +#include "configuration.h" +#include +#include + + +class JMTest : private concurrency::OSThread +{ + + public: + JMTest(); + + protected: + + virtual int32_t runOnce(); +}; + +extern JMTest jMTest;