Copter: Optflow constructor update

AHRS passed as param
This commit is contained in:
Julien BERAUD 2015-11-24 10:38:15 +01:00 committed by Andrew Tridgell
parent 780104dc9c
commit f897356fd9

View File

@ -199,7 +199,7 @@ private:
// Optical flow sensor // Optical flow sensor
#if OPTFLOW == ENABLED #if OPTFLOW == ENABLED
OpticalFlow optflow; OpticalFlow optflow{ahrs};
#endif #endif
// gnd speed limit required to observe optical flow sensor limits // gnd speed limit required to observe optical flow sensor limits