AP_HAL_ChibiOS: remove superfluous linefeed from panic strings

panic adds this within the HAL layer.
This commit is contained in:
Peter Barker 2024-12-13 20:15:44 +11:00 committed by Peter Barker
parent 14b29cf7de
commit e6796c1e96
1 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ void UARTDriver::thread_rx_init(void)
uart_rx_thread, uart_rx_thread,
nullptr); nullptr);
if (uart_rx_thread_ctx == 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, uart_thread_trampoline,
this); this);
if (uart_thread_ctx == nullptr) { if (uart_thread_ctx == nullptr) {
AP_HAL::panic("Could not create UART TX thread\n"); AP_HAL::panic("Could not create UART TX thread");
} }
} }
} }