Copter: stop passing ahrs to Mission constructor

This commit is contained in:
Peter Barker 2018-04-25 09:09:44 +10:00 committed by Randy Mackay
parent 67e5b18268
commit f598cff99c
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ private:
// Mission library
#if MODE_AUTO_ENABLED == ENABLED
AP_Mission mission{ahrs,
AP_Mission mission{
FUNCTOR_BIND_MEMBER(&Copter::start_command, bool, const AP_Mission::Mission_Command &),
FUNCTOR_BIND_MEMBER(&Copter::verify_command_callback, bool, const AP_Mission::Mission_Command &),
FUNCTOR_BIND_MEMBER(&Copter::exit_mission, void)};