Copter: use AP_ServoRelayEvents singleton
This commit is contained in:
parent
80f0016951
commit
4b5953734d
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user