mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Plane: remove get_advanced_failsafe override; singleton to be used
This commit is contained in:
parent
1b29cf14a6
commit
a761cb62de
@ -1385,15 +1385,6 @@ void GCS_MAVLINK_Plane::handle_mission_set_current(AP_Mission &mission, const ma
|
||||
}
|
||||
}
|
||||
|
||||
AP_AdvancedFailsafe *GCS_MAVLINK_Plane::get_advanced_failsafe() const
|
||||
{
|
||||
#if ADVANCED_FAILSAFE == ENABLED
|
||||
return &plane.afs;
|
||||
#else
|
||||
return nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
set_mode() wrapper for MAVLink SET_MODE
|
||||
*/
|
||||
|
@ -16,8 +16,6 @@ protected:
|
||||
|
||||
void handle_mission_set_current(AP_Mission &mission, const mavlink_message_t &msg) override;
|
||||
|
||||
AP_AdvancedFailsafe *get_advanced_failsafe() const override;
|
||||
|
||||
uint8_t sysid_my_gcs() const override;
|
||||
bool sysid_enforce() const override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user