mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
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
Block a user