diff --git a/include/sta/tacos/startup.hpp b/include/sta/tacos/startup.hpp deleted file mode 100644 index c0edd90..0000000 --- a/include/sta/tacos/startup.hpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - * startup.hpp - * - * Created on: 22 Sep 2023 - * Author: Dario - */ - -#ifndef INCLUDE_STA_TACOS_STARTUP_HPP_ -#define INCLUDE_STA_TACOS_STARTUP_HPP_ - -/** - * @defgroup tacos TACOS - * @brief TACOS library. - */ - -namespace sta -{ - namespace tacos - { - /** - * @brief Function that is called before the statemachine task is started. - * Override it to adjust the statemachine to your specifications. - */ - void onStatemachineInit(); - - /** - * @brief Function that is called before the manager task is started. - * Override it to adjust the manager to your specifications. - */ - void onManagerInit(); - } // namespace tacos -} // namespace sta - - - -#endif /* INCLUDE_STA_TACOS_STARTUP_HPP_ */ diff --git a/src/startup.cpp b/src/startup.cpp index 8ceebf7..a71ab35 100644 --- a/src/startup.cpp +++ b/src/startup.cpp @@ -20,7 +20,6 @@ // Tacos-specific includes. #include #include -#include // The UART mutex defined in freertos.c @@ -37,7 +36,7 @@ namespace sta void initPrintable() { // Initialize the mutex for UART communication. - RtosMutex * mutex = new RtosMutex(&uartMutexHandle); + RtosMutex * mutex = new RtosMutex("uart"); // Initialize the UART interface and printable object. UARTSettings settings = { .mode = UARTMode::RX_TX };