AP_Arming: adjust for rename of AP_UAVCAN_Server to AP_UAVCAN_DNA_Server

This commit is contained in:
Peter Barker 2019-10-25 14:03:23 +11:00 committed by Andrew Tridgell
parent 4ddfe2715b
commit f4433773be
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}