Plane: Update for AFS interface

This commit is contained in:
Michael du Breuil 2019-06-13 20:13:55 -07:00 committed by Andrew Tridgell
parent 3194b073ca
commit 1d379dd0b3
3 changed files with 4 additions and 4 deletions

View File

@ -674,7 +674,7 @@ private:
// Outback Challenge Failsafe Support
#if ADVANCED_FAILSAFE == ENABLED
AP_AdvancedFailsafe_Plane afs {mission, gps};
AP_AdvancedFailsafe_Plane afs {mission};
#endif
/*

View File

@ -6,8 +6,8 @@
#if ADVANCED_FAILSAFE == ENABLED
// Constructor
AP_AdvancedFailsafe_Plane::AP_AdvancedFailsafe_Plane(AP_Mission &_mission, const AP_GPS &_gps) :
AP_AdvancedFailsafe(_mission, _gps)
AP_AdvancedFailsafe_Plane::AP_AdvancedFailsafe_Plane(AP_Mission &_mission) :
AP_AdvancedFailsafe(_mission)
{}

View File

@ -27,7 +27,7 @@
class AP_AdvancedFailsafe_Plane : public AP_AdvancedFailsafe
{
public:
AP_AdvancedFailsafe_Plane(AP_Mission &_mission, const AP_GPS &_gps);
AP_AdvancedFailsafe_Plane(AP_Mission &_mission);
// called to set all outputs to termination state
void terminate_vehicle(void) override;