mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-06 16:08:28 -04:00
AP_OpenDroneID: fixed mavlink enum
This commit is contained in:
parent
3616b41afc
commit
4ca0a0a997
@ -133,7 +133,7 @@ bool AP_OpenDroneID::pre_arm_check(char* failmsg, uint8_t failmsg_len)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (arm_status.status != MAV_ODID_GOOD_TO_ARM) {
|
if (arm_status.status != MAV_ODID_ARM_STATUS_GOOD_TO_ARM) {
|
||||||
strncpy(failmsg, arm_status.error, failmsg_len);
|
strncpy(failmsg, arm_status.error, failmsg_len);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user