Sub: use gps singleton for GCS functions

This commit is contained in:
Peter Barker 2017-10-25 15:33:16 +11:00 committed by Francisco Ferreira
parent b4294c00f6
commit 2fc9b3b5f4
2 changed files with 0 additions and 6 deletions

View File

@ -1628,11 +1628,6 @@ AP_Mission *GCS_MAVLINK_Sub::get_mission()
return &sub.mission;
}
AP_GPS *GCS_MAVLINK_Sub::get_gps() const
{
return &sub.gps;
}
AP_Camera *GCS_MAVLINK_Sub::get_camera() const
{
#if CAMERA == ENABLED

View File

@ -19,7 +19,6 @@ protected:
AP_Rally *get_rally() const override;
AP_Camera *get_camera() const override;
AP_ServoRelayEvents *get_servorelayevents() const override;
AP_GPS *get_gps() const override;
const AP_FWVersion &get_fwver() const override;
void set_ekf_origin(const Location& loc) override;