Fixed compiler errors

This commit is contained in:
CarlWachter
2023-09-22 19:56:19 +02:00
committed by dario
parent 10bcad8203
commit 1e27384313
12 changed files with 55 additions and 32 deletions

View File

@@ -93,6 +93,10 @@ namespace sta
}
//Manager::~Manager(){}
Manager* Manager::_instance = nullptr;
} // namespace tacos
} // namespace sta

View File

@@ -11,6 +11,8 @@ namespace sta
{
namespace tacos
{
Statemachine::Statemachine(){}
void Statemachine::init()
{
@@ -25,6 +27,9 @@ namespace sta
{
return currentState_;
}
Statemachine* Statemachine::_instance = nullptr;
} // namespace tacos
} // namespace sta

View File

@@ -20,11 +20,13 @@ namespace sta
TacosThread::TacosThread(const char* name, osPriority_t prio)
: RtosThread(RtosHandle<osThreadId_t>(Handle::Deferred(&instance_))),
attribs_{ .name = name, .priority = prio }
{
{}
}
TacosThread::TacosThread()
: RtosThread(RtosHandle<osThreadId_t>(Handle::Deferred(&instance_)))
{}
static void entry_point(void* arg)
void TacosThread::entry_point(void* arg)
{
STA_ASSERT(arg != nullptr);
@@ -81,6 +83,12 @@ namespace sta
{
return std::strcmp(this->getName(), other.getName()) < 0;
}
void TacosThread::init(){}
void TacosThread::func(){}
TacosThread::~TacosThread(){}
} // namespace tacos
} // namespace sta