Updated default config and removed onManagerInit, onStateMachineInit

This commit is contained in:
dario
2024-11-20 19:34:38 +01:00
parent f75f23d4e9
commit 5c050fc06e
3 changed files with 0 additions and 29 deletions

View File

@@ -9,8 +9,6 @@
namespace
{
// Static memory for system events
StaticEventGroup_t systemEventControlBlock;
// Event handle
sta::RtosEvent * systemEvents = nullptr;
}

View File

@@ -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();