AP_Terrain: replace AP_GPS::Status and AP_DAL_GPS::Status with AP_GPS_FixType

This commit is contained in:
Peter Barker
2026-03-27 12:01:41 +11:00
committed by Peter Barker
parent 00cfcf7e60
commit 9e9fb00538
+2 -2
View File
@@ -55,7 +55,7 @@ void AP_Terrain::update_mission_data(void)
uint16_t pending, loaded;
get_statistics(pending, loaded);
if (pending && AP::gps().status() >= AP_GPS::GPS_OK_FIX_3D) {
if (pending && AP::gps().status() >= AP_GPS_FixType::FIX_3D) {
// wait till we have fully filled the current set of grids
return;
}
@@ -139,7 +139,7 @@ void AP_Terrain::update_rally_data(void)
uint16_t pending, loaded;
get_statistics(pending, loaded);
if (pending && AP::gps().status() >= AP_GPS::GPS_OK_FIX_3D) {
if (pending && AP::gps().status() >= AP_GPS_FixType::FIX_3D) {
// wait till we have fully filled the current set of grids
return;
}