Copter: use AP_ServoRelayEvents singleton

This commit is contained in:
Peter Barker 2018-04-14 14:52:58 +10:00 committed by Randy Mackay
parent 80f0016951
commit 4b5953734d
2 changed files with 0 additions and 6 deletions

View File

@ -1809,11 +1809,6 @@ AP_Camera *GCS_MAVLINK_Copter::get_camera() const
#endif
}
AP_ServoRelayEvents *GCS_MAVLINK_Copter::get_servorelayevents() const
{
return &copter.ServoRelayEvents;
}
AP_AdvancedFailsafe *GCS_MAVLINK_Copter::get_advanced_failsafe() const
{
#if ADVANCED_FAILSAFE == ENABLED

View File

@ -22,7 +22,6 @@ protected:
AP_Rally *get_rally() const override;
Compass *get_compass() const override;
AP_Camera *get_camera() const override;
AP_ServoRelayEvents *get_servorelayevents() const override;
MAV_RESULT handle_flight_termination(const mavlink_command_long_t &packet) override;
AP_AdvancedFailsafe *get_advanced_failsafe() const override;
AP_VisualOdom *get_visual_odom() const override;