mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
AP_NavEKF3: add prearm failure message for null core pointer
This commit is contained in:
parent
5049a5fbd4
commit
8b2b7444d3
@ -1549,7 +1549,7 @@ uint32_t NavEKF3::getLastVelNorthEastReset(Vector2f &vel) const
|
||||
const char *NavEKF3::prearm_failure_reason(void) const
|
||||
{
|
||||
if (!core) {
|
||||
return nullptr;
|
||||
return "no EKF3 cores";
|
||||
}
|
||||
for (uint8_t i = 0; i < num_cores; i++) {
|
||||
const char * failure = core[primary].prearm_failure_reason();
|
||||
|
Loading…
Reference in New Issue
Block a user