mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
ArduPlane: remove optical flow pointer from AP_AHRS
Nothing was ever using it.
This commit is contained in:
parent
61f41803b9
commit
3464f9b46e
@ -88,13 +88,6 @@ void Plane::init_ardupilot()
|
||||
AP::compass().set_log_bit(MASK_LOG_COMPASS);
|
||||
AP::compass().init();
|
||||
|
||||
#if OPTFLOW == ENABLED
|
||||
// make optflow available to libraries
|
||||
if (optflow.enabled()) {
|
||||
ahrs.set_optflow(&optflow);
|
||||
}
|
||||
#endif
|
||||
|
||||
// init EFI monitoring
|
||||
#if EFI_ENABLED
|
||||
g2.efi.init();
|
||||
|
Loading…
Reference in New Issue
Block a user