mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-03 04:03:59 -04:00
Sub: Remove unneeded GCS rally override
This commit is contained in:
parent
64e152fbc0
commit
b4c5041aad
@ -1163,15 +1163,6 @@ void Sub::mavlink_delay_cb()
|
||||
DataFlash.EnableWrites(true);
|
||||
}
|
||||
|
||||
AP_Rally *GCS_MAVLINK_Sub::get_rally() const
|
||||
{
|
||||
#if AC_RALLY == ENABLED
|
||||
return &sub.rally;
|
||||
#else
|
||||
return nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
MAV_RESULT GCS_MAVLINK_Sub::handle_flight_termination(const mavlink_command_long_t &packet) {
|
||||
if (packet.param1 > 0.5f) {
|
||||
sub.init_disarm_motors();
|
||||
|
@ -12,8 +12,6 @@ protected:
|
||||
return 0;
|
||||
};
|
||||
|
||||
AP_Rally *get_rally() const override;
|
||||
|
||||
MAV_RESULT handle_flight_termination(const mavlink_command_long_t &packet) override;
|
||||
|
||||
uint8_t sysid_my_gcs() const override;
|
||||
|
Loading…
Reference in New Issue
Block a user