From e1415783769c52cdcbe370254f9b0897c403e25e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 28 May 2021 13:16:30 +1000 Subject: [PATCH] AP_AHRS: remove optical flow pointer from AP_AHRS Nothing was ever using it. --- libraries/AP_AHRS/AP_AHRS.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libraries/AP_AHRS/AP_AHRS.h b/libraries/AP_AHRS/AP_AHRS.h index 64990f4871..07e233daef 100644 --- a/libraries/AP_AHRS/AP_AHRS.h +++ b/libraries/AP_AHRS/AP_AHRS.h @@ -116,14 +116,6 @@ public: return _compass; } - void set_optflow(const OpticalFlow *optflow) { - _optflow = optflow; - } - - const OpticalFlow* get_optflow() const { - return _optflow; - } - // allow for runtime change of orientation // this makes initial config easier void update_orientation(); @@ -665,9 +657,6 @@ protected: // pointer to compass object, if available Compass * _compass; - // pointer to OpticalFlow object, if available - const OpticalFlow *_optflow; - // pointer to airspeed object, if available // time in microseconds of last compass update