Disabled printable initialization if debugging is disabled

This commit is contained in:
dario
2024-01-02 01:00:43 +01:00
parent 550ec32076
commit 08ed271f13
2 changed files with 1 additions and 38 deletions

View File

@@ -20,7 +20,6 @@
// Tacos-specific includes.
#include <sta/tacos/manager.hpp>
#include <sta/tacos/statemachine.hpp>
#include <sta/tacos/startup.hpp>
// 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 };