mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Sub: don't pass ahrs to terrain constructor
This commit is contained in:
parent
818bb8d56d
commit
2116737e35
@ -427,7 +427,7 @@ private:
|
||||
|
||||
// terrain handling
|
||||
#if AP_TERRAIN_AVAILABLE && AC_TERRAIN
|
||||
AP_Terrain terrain{ahrs, mission, rally};
|
||||
AP_Terrain terrain{mission, rally};
|
||||
#endif
|
||||
|
||||
// used to allow attitude and depth control without a position system
|
||||
|
Loading…
Reference in New Issue
Block a user