mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-02 10:23:25 +08:00
AP_Terrain: replace AP_GPS::Status and AP_DAL_GPS::Status with AP_GPS_FixType
This commit is contained in:
committed by
Peter Barker
parent
00cfcf7e60
commit
9e9fb00538
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user