From 0af5b225c4eb2d23420d3a4dcb8dc03d60adbdf1 Mon Sep 17 00:00:00 2001 From: Jm Date: Tue, 5 Jan 2021 23:32:33 -0800 Subject: [PATCH] intermediate --- src/JMTest.cpp | 14 ++++++++++++++ src/JMTest.h | 20 ++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 src/JMTest.cpp create mode 100644 src/JMTest.h 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;