Plane: stop passing ahrs to Mission constructor

This commit is contained in:
Peter Barker 2018-04-25 09:09:33 +10:00 committed by Randy Mackay
parent a9b94ae13d
commit 4b68ca79dc

View File

@ -605,7 +605,7 @@ private:
float smoothed_airspeed;
// Mission library
AP_Mission mission{ahrs,
AP_Mission mission{
FUNCTOR_BIND_MEMBER(&Plane::start_command_callback, bool, const AP_Mission::Mission_Command &),
FUNCTOR_BIND_MEMBER(&Plane::verify_command_callback, bool, const AP_Mission::Mission_Command &),
FUNCTOR_BIND_MEMBER(&Plane::exit_mission_callback, void)};