Browse Source

Copter: Remove unneeded GCS rally override

master
Michael du Breuil 6 years ago committed by Andrew Tridgell
parent
commit
6bb84bfcc5
  1. 9
      ArduCopter/GCS_Mavlink.cpp
  2. 1
      ArduCopter/GCS_Mavlink.h

9
ArduCopter/GCS_Mavlink.cpp

@ -1498,15 +1498,6 @@ MAV_RESULT GCS_MAVLINK_Copter::handle_flight_termination(const mavlink_command_l @@ -1498,15 +1498,6 @@ MAV_RESULT GCS_MAVLINK_Copter::handle_flight_termination(const mavlink_command_l
return result;
}
AP_Rally *GCS_MAVLINK_Copter::get_rally() const
{
#if AC_RALLY == ENABLED
return &copter.rally;
#else
return nullptr;
#endif
}
bool GCS_MAVLINK_Copter::set_mode(const uint8_t mode)
{
#ifdef DISALLOW_GCS_MODE_CHANGE_DURING_RC_FAILSAFE

1
ArduCopter/GCS_Mavlink.h

@ -14,7 +14,6 @@ protected: @@ -14,7 +14,6 @@ protected:
uint32_t telem_delay() const override;
AP_Rally *get_rally() 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…
Cancel
Save