Copter: do not pass ahrs to opticalflow constructor

This commit is contained in:
Peter Barker 2018-09-02 16:54:19 +10:00 committed by Andrew Tridgell
parent e88358ccc6
commit ee456e8870
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ private:
// Optical flow sensor
#if OPTFLOW == ENABLED
OpticalFlow optflow{ahrs};
OpticalFlow optflow;
#endif
// system time in milliseconds of last recorded yaw reset from ekf