Modified manager task to avoid crashes.

This commit is contained in:
dario
2023-09-01 18:48:51 +02:00
parent 60e1d4c372
commit ac7237b0bb
4 changed files with 31 additions and 30 deletions

View File

@@ -34,6 +34,8 @@ namespace sta
UARTSettings settings = { .mode = UARTMode::RX_TX };
STM32UART * intf_ptr = new STM32UART(&huart2, settings, mutex);
Debug = new PrintableUART(intf_ptr);
STA_DEBUG_PRINTLN("UART SUCCESSFULLY INITIALIZED");
}
} // namespace rtos
} // namespace sta