Plane: Update L1 constructor for new arguments

This commit is contained in:
Michael du Breuil 2017-03-19 17:32:39 -07:00 committed by Andrew Tridgell
parent 93a18e7dc8
commit 876ffa351b

View File

@ -216,8 +216,8 @@ private:
AP_AHRS_DCM ahrs {ins, barometer, gps};
#endif
AP_L1_Control L1_controller {ahrs};
AP_TECS TECS_controller {ahrs, aparm, landing, g2.soaring_controller};
AP_L1_Control L1_controller {ahrs, &TECS_controller};
// Attitude to servo controllers
AP_RollController rollController {ahrs, aparm, DataFlash};