AP_AHRS: remove optical flow pointer from AP_AHRS

Nothing was ever using it.
This commit is contained in:
Peter Barker 2021-05-28 13:16:30 +10:00 committed by Peter Barker
parent 28bbe4b776
commit e141578376
1 changed files with 0 additions and 11 deletions

View File

@ -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