Copter: pass ahrs into mission constructor

This commit is contained in:
Randy Mackay 2014-02-28 11:58:58 +09:00
parent 87c7d19f83
commit 67a4b47f6b

View File

@ -353,7 +353,7 @@ AP_AHRS_DCM ahrs(ins, barometer, g_gps);
static bool start_command(const AP_Mission::Mission_Command& cmd);
static bool verify_command(const AP_Mission::Mission_Command& cmd);
static void exit_mission();
AP_Mission mission(&start_command, &verify_command, &exit_mission);
AP_Mission mission(ahrs, &start_command, &verify_command, &exit_mission);
////////////////////////////////////////////////////////////////////////////////
// Optical flow sensor