mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-08-06 09:37:34 +00:00
refactor: merged manger task into statemachine task
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#define STA_TACOS_HPP
|
||||
|
||||
#include <sta/tacos/thread.hpp>
|
||||
#include <sta/tacos/manager.hpp>
|
||||
#include <sta/tacos/statemachine.hpp>
|
||||
#include <sta/tacos/can_bus.hpp>
|
||||
|
||||
@@ -74,7 +73,7 @@ namespace sta
|
||||
{
|
||||
std::shared_ptr<T> thread_ptr = std::make_shared<T>(args...);
|
||||
|
||||
Manager::instance()->registerThread(thread_ptr, states);
|
||||
Statemachine::instance()->registerThread(thread_ptr, states);
|
||||
|
||||
return thread_ptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user