From ada57bc36e361e324498612184700c832901a3f8 Mon Sep 17 00:00:00 2001 From: dario Date: Tue, 2 Jan 2024 12:51:22 +0100 Subject: [PATCH] Moved doxygen to weak implementation and added tacos defgroup --- src/startup.cpp | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) 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();