mirror of https://github.com/ArduPilot/ardupilot
AP_Arming: text messages and more defines
This commit is contained in:
parent
20436ef527
commit
4e161bab5e
|
@ -1176,9 +1176,9 @@ bool AP_Arming::can_checks(bool report)
|
|||
case AP_CANManager::Driver_Type_DroneCAN:
|
||||
{
|
||||
#if HAL_ENABLE_DRONECAN_DRIVERS
|
||||
AP_DroneCAN *ap_dronecan = AP_DroneCAN::get_uavcan(i);
|
||||
AP_DroneCAN *ap_dronecan = AP_DroneCAN::get_dronecan(i);
|
||||
if (ap_dronecan != nullptr && !ap_dronecan->prearm_check(fail_msg, ARRAY_SIZE(fail_msg))) {
|
||||
check_failed(ARMING_CHECK_SYSTEM, report, "UAVCAN: %s", fail_msg);
|
||||
check_failed(ARMING_CHECK_SYSTEM, report, "DroneCAN: %s", fail_msg);
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue