mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-08-02 08:41:54 +00:00
Disabled printable initialization if debugging is disabled
This commit is contained in:
parent
550ec32076
commit
08ed271f13
@ -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_ */
|
|
@ -20,7 +20,6 @@
|
|||||||
// Tacos-specific includes.
|
// Tacos-specific includes.
|
||||||
#include <sta/tacos/manager.hpp>
|
#include <sta/tacos/manager.hpp>
|
||||||
#include <sta/tacos/statemachine.hpp>
|
#include <sta/tacos/statemachine.hpp>
|
||||||
#include <sta/tacos/startup.hpp>
|
|
||||||
|
|
||||||
|
|
||||||
// The UART mutex defined in freertos.c
|
// The UART mutex defined in freertos.c
|
||||||
@ -37,7 +36,7 @@ namespace sta
|
|||||||
void initPrintable()
|
void initPrintable()
|
||||||
{
|
{
|
||||||
// Initialize the mutex for UART communication.
|
// Initialize the mutex for UART communication.
|
||||||
RtosMutex * mutex = new RtosMutex(&uartMutexHandle);
|
RtosMutex * mutex = new RtosMutex("uart");
|
||||||
|
|
||||||
// Initialize the UART interface and printable object.
|
// Initialize the UART interface and printable object.
|
||||||
UARTSettings settings = { .mode = UARTMode::RX_TX };
|
UARTSettings settings = { .mode = UARTMode::RX_TX };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user