AP_GPS: remove unused highest_supported_status(void)

This commit is contained in:
Randy Mackay 2017-03-08 15:53:19 +09:00
parent ac86c7999b
commit 2d0258b6a2
2 changed files with 0 additions and 11 deletions

View File

@ -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
*/

View File

@ -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 {