mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-08-02 08:41:54 +00:00
Moved doxygen to weak implementation and added tacos defgroup
This commit is contained in:
parent
08ed271f13
commit
ada57bc36e
@ -5,6 +5,12 @@
|
|||||||
* Author: Dario
|
* Author: Dario
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @defgroup tacos
|
||||||
|
* @brief TACOS library.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <sta/config.hpp>
|
#include <sta/config.hpp>
|
||||||
|
|
||||||
#include <cmsis_os2.h>
|
#include <cmsis_os2.h>
|
||||||
@ -32,7 +38,8 @@ namespace sta
|
|||||||
// Here the printable used for debugging is defined.
|
// Here the printable used for debugging is defined.
|
||||||
Printable * Debug;
|
Printable * Debug;
|
||||||
|
|
||||||
namespace tacos {
|
namespace tacos
|
||||||
|
{
|
||||||
void initPrintable()
|
void initPrintable()
|
||||||
{
|
{
|
||||||
// Initialize the mutex for UART communication.
|
// Initialize the mutex for UART communication.
|
||||||
@ -50,11 +57,14 @@ namespace sta
|
|||||||
|
|
||||||
namespace tacos
|
namespace tacos
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @brief Function that is called before the statemachine task is started. Override it to
|
||||||
|
* adjust the statemachine to your specifications.
|
||||||
|
*/
|
||||||
STA_WEAK
|
STA_WEAK
|
||||||
void onStatemachineInit()
|
void onStatemachineInit()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
void initStatemachine()
|
void initStatemachine()
|
||||||
{
|
{
|
||||||
onStatemachineInit();
|
onStatemachineInit();
|
||||||
@ -62,12 +72,14 @@ namespace sta
|
|||||||
Statemachine::instance()->start();
|
Statemachine::instance()->start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Function that is called before the manager task is started. Override it to adjust
|
||||||
|
* the manager to your specifications.
|
||||||
|
*/
|
||||||
STA_WEAK
|
STA_WEAK
|
||||||
void onManagerInit()
|
void onManagerInit()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
void initManager()
|
void initManager()
|
||||||
{
|
{
|
||||||
onManagerInit();
|
onManagerInit();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user