mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-08-06 09:37:34 +00:00
Changed registerThread to accept shared_ptrs to fix some issues with polymorphism.
This commit is contained in:
@@ -23,13 +23,15 @@ namespace demo
|
||||
|
||||
void DummyTask::init()
|
||||
{
|
||||
STA_DEBUG_PRINTLN("Initialized dummy task!");
|
||||
|
||||
}
|
||||
|
||||
void DummyTask::func()
|
||||
{
|
||||
STA_DEBUG_PRINT("Executing ");
|
||||
STA_DEBUG_PRINTLN(this->getName());
|
||||
// STA_DEBUG_PRINT("Executing ");
|
||||
// STA_DEBUG_PRINTLN(this->getName());
|
||||
osDelay(1000);
|
||||
}
|
||||
} // namespace demo
|
||||
|
||||
|
Reference in New Issue
Block a user