mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-06-10 16:45:59 +00:00
Updated default config and removed onManagerInit, onStateMachineInit
This commit is contained in:
parent
f75f23d4e9
commit
5c050fc06e
@ -20,7 +20,4 @@
|
||||
// State transition message define with highest CAN priority
|
||||
#define STA_TACOS_CAN_BUS_SYS_MSG_ID 0x0
|
||||
|
||||
// TACOS requires system events to start threads
|
||||
#define STA_RTOS_SYSTEM_EVENTS_ENABLE
|
||||
|
||||
#endif // STA_TACOS_CONFIGS_DEFAULT_HPP
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user