diff --git a/libraries/AP_Radio/AP_Radio_bk2425.cpp b/libraries/AP_Radio/AP_Radio_bk2425.cpp index 773205cf88..d9dd185d6a 100644 --- a/libraries/AP_Radio/AP_Radio_bk2425.cpp +++ b/libraries/AP_Radio/AP_Radio_bk2425.cpp @@ -140,7 +140,7 @@ AP_Radio_beken::AP_Radio_beken(AP_Radio &_radio) : bool AP_Radio_beken::init(void) { if (_irq_handler_ctx != nullptr) { - AP_HAL::panic("AP_Radio_beken: double instantiation of irq_handler\n"); + AP_HAL::panic("AP_Radio_beken: double instantiation of irq_handler"); } chVTObjectInit(&timeout_vt); _irq_handler_ctx = chThdCreateFromHeap(NULL, diff --git a/libraries/AP_Radio/AP_Radio_cc2500.cpp b/libraries/AP_Radio/AP_Radio_cc2500.cpp index cce9b4ffcf..83ee84f9ce 100644 --- a/libraries/AP_Radio/AP_Radio_cc2500.cpp +++ b/libraries/AP_Radio/AP_Radio_cc2500.cpp @@ -85,7 +85,7 @@ bool AP_Radio_cc2500::init(void) { #if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS if (_irq_handler_ctx != nullptr) { - AP_HAL::panic("AP_Radio_cc2500: double instantiation of irq_handler\n"); + AP_HAL::panic("AP_Radio_cc2500: double instantiation of irq_handler"); } chVTObjectInit(&timeout_vt); _irq_handler_ctx = chThdCreateFromHeap(NULL, diff --git a/libraries/AP_Radio/AP_Radio_cypress.cpp b/libraries/AP_Radio/AP_Radio_cypress.cpp index fc27088469..43bebe982c 100644 --- a/libraries/AP_Radio/AP_Radio_cypress.cpp +++ b/libraries/AP_Radio/AP_Radio_cypress.cpp @@ -264,7 +264,7 @@ bool AP_Radio_cypress::init(void) dev = hal.spi->get_device(CYRF_SPI_DEVICE); #if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS if (_irq_handler_ctx != nullptr) { - AP_HAL::panic("AP_Radio_cypress: double instantiation of irq_handler\n"); + AP_HAL::panic("AP_Radio_cypress: double instantiation of irq_handler"); } chVTObjectInit(&timeout_vt); _irq_handler_ctx = chThdCreateFromHeap(NULL,