Working manager & statemachine tasks; timers still bugged; statemachine init bugged

This commit is contained in:
dario
2023-09-27 00:07:23 +02:00
parent 5bf6cca3b1
commit 817db58a0e
10 changed files with 83 additions and 31 deletions

View File

@@ -19,11 +19,14 @@ namespace sta
{
TacosThread::TacosThread(const char* name, osPriority_t prio)
: RtosThread(RtosHandle<osThreadId_t>(Handle::Deferred(&instance_))),
instance_{ NULL },
attribs_{ .name = name, .priority = prio }
{}
TacosThread::TacosThread()
: RtosThread(RtosHandle<osThreadId_t>(Handle::Deferred(&instance_)))
: RtosThread(RtosHandle<osThreadId_t>(Handle::Deferred(&instance_))),
instance_{ NULL },
attribs_{ }
{}
void TacosThread::entry_point(void* arg)
@@ -85,6 +88,7 @@ namespace sta
}
void TacosThread::init(){}
void TacosThread::func(){}
TacosThread::~TacosThread(){}