mirror of https://github.com/ArduPilot/ardupilot
Copter: do not pass ahrs to opticalflow constructor
This commit is contained in:
parent
e88358ccc6
commit
ee456e8870
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue