mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-12 09:33:59 -03:00
AP_NavEKF2: correct return of empty prearm string
This commit is contained in:
parent
398f427830
commit
3619856fc9
@ -603,6 +603,7 @@ void NavEKF2_core::readGpsData()
|
|||||||
} else {
|
} else {
|
||||||
// report GPS fix status
|
// report GPS fix status
|
||||||
gpsCheckStatus.bad_fix = true;
|
gpsCheckStatus.bad_fix = true;
|
||||||
|
hal.util->snprintf(prearm_fail_string, sizeof(prearm_fail_string), "Waiting for 3D fix");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user