AP_GPS: remove unused highest_supported_status(void)
This commit is contained in:
parent
ac86c7999b
commit
2d0258b6a2
@ -448,16 +448,6 @@ AP_GPS::highest_supported_status(uint8_t instance) const
|
||||
return AP_GPS::GPS_OK_FIX_3D;
|
||||
}
|
||||
|
||||
AP_GPS::GPS_Status
|
||||
AP_GPS::highest_supported_status(void) const
|
||||
{
|
||||
if (drivers[primary_instance] != nullptr) {
|
||||
return drivers[primary_instance]->highest_supported_status();
|
||||
}
|
||||
return AP_GPS::GPS_OK_FIX_3D;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
update one GPS instance. This should be called at 10Hz or greater
|
||||
*/
|
||||
|
@ -159,7 +159,6 @@ public:
|
||||
|
||||
// Query the highest status this GPS supports
|
||||
GPS_Status highest_supported_status(uint8_t instance) const;
|
||||
GPS_Status highest_supported_status(void) const;
|
||||
|
||||
// location of last fix
|
||||
const Location &location(uint8_t instance) const {
|
||||
|
Loading…
Reference in New Issue
Block a user