Sub: use AP_ServoRelayEvents singleton

This commit is contained in:
Peter Barker 2018-04-14 14:53:17 +10:00 committed by Randy Mackay
parent 5cc98a9733
commit c7327acef7
2 changed files with 0 additions and 6 deletions

View File

@ -1598,11 +1598,6 @@ AP_Camera *GCS_MAVLINK_Sub::get_camera() const
#endif
}
AP_ServoRelayEvents *GCS_MAVLINK_Sub::get_servorelayevents() const
{
return &sub.ServoRelayEvents;
}
AP_Rally *GCS_MAVLINK_Sub::get_rally() const
{
#if AC_RALLY == ENABLED

View File

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