mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
ArduSub: remove optical flow pointer from AP_AHRS
Nothing was ever using it.
This commit is contained in:
parent
3464f9b46e
commit
6f81c250be
@ -83,11 +83,6 @@ void Sub::init_ardupilot()
|
|||||||
AP::compass().set_log_bit(MASK_LOG_COMPASS);
|
AP::compass().set_log_bit(MASK_LOG_COMPASS);
|
||||||
AP::compass().init();
|
AP::compass().init();
|
||||||
|
|
||||||
#if OPTFLOW == ENABLED
|
|
||||||
// make optflow available to AHRS
|
|
||||||
ahrs.set_optflow(&optflow);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// init Location class
|
// init Location class
|
||||||
#if AP_TERRAIN_AVAILABLE && AC_TERRAIN
|
#if AP_TERRAIN_AVAILABLE && AC_TERRAIN
|
||||||
Location::set_terrain(&terrain);
|
Location::set_terrain(&terrain);
|
||||||
|
Loading…
Reference in New Issue
Block a user