mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-09-29 02:57:33 +00:00
Fixed compiler errors
This commit is contained in:
@@ -93,6 +93,10 @@ namespace sta
|
||||
|
||||
}
|
||||
|
||||
//Manager::~Manager(){}
|
||||
|
||||
Manager* Manager::_instance = nullptr;
|
||||
|
||||
} // namespace tacos
|
||||
} // namespace sta
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user