mirror of https://github.com/ArduPilot/ardupilot
Copter: stop passing ahrs to Mission constructor
This commit is contained in:
parent
67e5b18268
commit
f598cff99c
|
@ -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)};
|
||||
|
|
Loading…
Reference in New Issue