mirror of https://github.com/ArduPilot/ardupilot
AP_Arming: adjust for rename of AP_UAVCAN_Server to AP_UAVCAN_DNA_Server
This commit is contained in:
parent
4ddfe2715b
commit
f4433773be
|
@ -753,7 +753,7 @@ bool AP_Arming::can_checks(bool report)
|
|||
case AP_BoardConfig_CAN::Protocol_Type_UAVCAN:
|
||||
{
|
||||
snprintf(fail_msg, ARRAY_SIZE(fail_msg), "UAVCAN failed");
|
||||
if (!AP::uavcan_server().prearm_check(fail_msg, ARRAY_SIZE(fail_msg))) {
|
||||
if (!AP::uavcan_dna_server().prearm_check(fail_msg, ARRAY_SIZE(fail_msg))) {
|
||||
check_failed(ARMING_CHECK_SYSTEM, report, "%s", fail_msg);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue