Skip to content

Commit

Permalink
Plane: use AP_ServoRelayEvents singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker authored and rmackay9 committed Apr 18, 2018
1 parent 4b59537 commit 5cc98a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions ArduPlane/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1852,11 +1852,6 @@ AP_Camera *GCS_MAVLINK_Plane::get_camera() const
#endif
}

AP_ServoRelayEvents *GCS_MAVLINK_Plane::get_servorelayevents() const
{
return &plane.ServoRelayEvents;
}

AP_AdvancedFailsafe *GCS_MAVLINK_Plane::get_advanced_failsafe() const
{
return &plane.afs;
Expand Down
1 change: 0 additions & 1 deletion ArduPlane/GCS_Mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class GCS_MAVLINK_Plane : public GCS_MAVLINK

Compass *get_compass() const override;
AP_Camera *get_camera() const override;
AP_ServoRelayEvents *get_servorelayevents() const override;
AP_AdvancedFailsafe *get_advanced_failsafe() const override;
AP_Rally *get_rally() const override;
const AP_FWVersion &get_fwver() const override;
Expand Down

0 comments on commit 5cc98a9

Please sign in to comment.