Sub: GCS_MAVLink uses compass singleton, stop implementing get_compass

This commit is contained in:
Peter Barker 2018-08-30 19:58:45 +10:00 committed by Peter Barker
parent 558158c62a
commit e4c0ef789b
2 changed files with 0 additions and 6 deletions

View File

@ -1254,11 +1254,6 @@ void Sub::gcs_update()
gcs().update();
}
Compass *GCS_MAVLINK_Sub::get_compass() const
{
return &sub.compass;
}
AP_Mission *GCS_MAVLINK_Sub::get_mission()
{
return &sub.mission;

View File

@ -12,7 +12,6 @@ protected:
return 0;
};
Compass *get_compass() const override;
AP_Mission *get_mission() override;
AP_Rally *get_rally() const override;
AP_Camera *get_camera() const override;