APMRover2: Remove unneeded GCS rally override

This commit is contained in:
Michael du Breuil 2018-12-28 21:48:44 -07:00 committed by Andrew Tridgell
parent 27d461348e
commit b00b7e827f
2 changed files with 0 additions and 10 deletions

View File

@ -1208,15 +1208,6 @@ AP_VisualOdom *GCS_MAVLINK_Rover::get_visual_odom() const
#endif
}
AP_Rally *GCS_MAVLINK_Rover::get_rally() const
{
#if AP_RALLY == ENABLED
return &rover.g2.rally;
#else
return nullptr;
#endif
}
bool GCS_MAVLINK_Rover::set_mode(const uint8_t mode)
{
Mode *new_mode = rover.mode_from_mode_num((enum Mode::Number)mode);

View File

@ -13,7 +13,6 @@ protected:
uint32_t telem_delay() const override;
AP_Rally *get_rally() const override;
AP_AdvancedFailsafe *get_advanced_failsafe() const override;
AP_VisualOdom *get_visual_odom() const override;