Copter: correct build when AFS disabled

This commit is contained in:
Peter Barker 2019-08-21 12:40:33 +10:00 committed by Randy Mackay
parent 2049e86dda
commit 3c6b67349f

View File

@ -30,14 +30,14 @@ public:
AP_AdvancedFailsafe_Copter(AP_Mission &_mission); AP_AdvancedFailsafe_Copter(AP_Mission &_mission);
// called to set all outputs to termination state // called to set all outputs to termination state
void terminate_vehicle(void); void terminate_vehicle(void) override;
protected: protected:
// setup failsafe values for if FMU firmware stops running // setup failsafe values for if FMU firmware stops running
void setup_IO_failsafe(void); void setup_IO_failsafe(void) override;
// return the AFS mapped control mode // return the AFS mapped control mode
enum control_mode afs_mode(void); enum control_mode afs_mode(void) override;
}; };
#endif // ADVANCED_FAILSAFE #endif // ADVANCED_FAILSAFE