From 2bca18b71203d562ed392fb50f1234b9b3d41487 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 2 Sep 2018 22:31:24 +1000 Subject: [PATCH] Sub: do not pass ahrs to opticalflow constructor --- ArduSub/Sub.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduSub/Sub.h b/ArduSub/Sub.h index 653dc8e70b..390d95f74d 100644 --- a/ArduSub/Sub.h +++ b/ArduSub/Sub.h @@ -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