Sub: do not pass ahrs to opticalflow constructor

This commit is contained in:
Peter Barker 2018-09-02 22:31:24 +10:00 committed by Andrew Tridgell
parent 102f06bb92
commit 2bca18b712

View File

@ -204,7 +204,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