mirror of https://github.com/ArduPilot/ardupilot
AP_Radio: remove superfluous linefeed from panic strings
panic adds this within the HAL layer.
This commit is contained in:
parent
70e9a90ac5
commit
d540a31f2e
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue