diff --git a/src/startup.cpp b/src/startup.cpp index a71ab35..6550cc1 100644 --- a/src/startup.cpp +++ b/src/startup.cpp @@ -5,6 +5,12 @@ * Author: Dario */ +/** + * @defgroup tacos + * @brief TACOS library. + */ + + #include #include @@ -32,7 +38,8 @@ namespace sta // Here the printable used for debugging is defined. Printable * Debug; - namespace tacos { + namespace tacos + { void initPrintable() { // Initialize the mutex for UART communication. @@ -50,11 +57,14 @@ namespace sta namespace tacos { + /** + * @brief Function that is called before the statemachine task is started. Override it to + * adjust the statemachine to your specifications. + */ STA_WEAK void onStatemachineInit() {} - void initStatemachine() { onStatemachineInit(); @@ -62,12 +72,14 @@ namespace sta 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 void onManagerInit() {} - void initManager() { onManagerInit();