From e6796c1e9659fbc78cb3d8a23d5fcc5ba9c5a4ac Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 13 Dec 2024 20:15:44 +1100 Subject: [PATCH] AP_HAL_ChibiOS: remove superfluous linefeed from panic strings panic adds this within the HAL layer. --- libraries/AP_HAL_ChibiOS/UARTDriver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/UARTDriver.cpp b/libraries/AP_HAL_ChibiOS/UARTDriver.cpp index b8c995a4b2..4bc97e1414 100644 --- a/libraries/AP_HAL_ChibiOS/UARTDriver.cpp +++ b/libraries/AP_HAL_ChibiOS/UARTDriver.cpp @@ -191,7 +191,7 @@ void UARTDriver::thread_rx_init(void) uart_rx_thread, nullptr); if (uart_rx_thread_ctx == nullptr) { - AP_HAL::panic("Could not create UART RX thread\n"); + AP_HAL::panic("Could not create UART RX thread"); } } } @@ -209,7 +209,7 @@ void UARTDriver::thread_init(void) uart_thread_trampoline, this); if (uart_thread_ctx == nullptr) { - AP_HAL::panic("Could not create UART TX thread\n"); + AP_HAL::panic("Could not create UART TX thread"); } } }