mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
RC_Channel: improve debug when failing to initialise RC channel
This commit is contained in:
parent
2209e4a697
commit
f2b8c9e501
@ -424,7 +424,7 @@ void RC_Channel::init_aux_function(const aux_func_t ch_option, const aux_switch_
|
||||
default:
|
||||
gcs().send_text(MAV_SEVERITY_WARNING, "Failed to initialise RC function (%u)", ch_option);
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
AP_HAL::panic("RC function (%u) initialisation", ch_option);
|
||||
AP_HAL::panic("RC function (%u) initialisation not handled", ch_option);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user