mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-08-06 09:37:34 +00:00
Updated default config and removed onManagerInit, onStateMachineInit
This commit is contained in:
@@ -9,8 +9,6 @@
|
||||
|
||||
namespace
|
||||
{
|
||||
// Static memory for system events
|
||||
StaticEventGroup_t systemEventControlBlock;
|
||||
// Event handle
|
||||
sta::RtosEvent * systemEvents = nullptr;
|
||||
}
|
||||
|
@@ -82,26 +82,6 @@ namespace sta
|
||||
|
||||
namespace tacos
|
||||
{
|
||||
/**
|
||||
* @brief Function that is called before the statemachine task is started. Override it to
|
||||
* adjust the statemachine to your specifications. Remains in TACOS for backwards compatibility, use startup() instead.
|
||||
*
|
||||
* @ingroup tacos_startup
|
||||
*/
|
||||
STA_WEAK
|
||||
void onStatemachineInit()
|
||||
{}
|
||||
|
||||
/**
|
||||
* @brief Function that is called before the statemachine task is started. Override it to
|
||||
* adjust the statemachine to your specifications. Remains in TACOS for backwards compatibility, use startup() instead.
|
||||
*
|
||||
* @ingroup tacos_startup
|
||||
*/
|
||||
STA_WEAK
|
||||
void onManagerInit()
|
||||
{}
|
||||
|
||||
/**
|
||||
* @brief Function that is called before the statemachine task is started. It serves as an entry point for the user to
|
||||
* define the threads the statemachine should run.
|
||||
@@ -114,10 +94,6 @@ namespace sta
|
||||
|
||||
void initStatemachine()
|
||||
{
|
||||
onStatemachineInit();
|
||||
|
||||
onManagerInit();
|
||||
|
||||
startup();
|
||||
|
||||
Statemachine::instance()->start();
|
||||
|
Reference in New Issue
Block a user