mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 11:53:33 +08:00
ekf2: pass gpsSample around where required
- this minimizes potential misuse accessing _gps_sample_delayed and makes the dependency clear
This commit is contained in:
@@ -44,7 +44,7 @@ void Ekf::controlHeightFusion()
|
||||
updateGroundEffect();
|
||||
|
||||
controlBaroHeightFusion();
|
||||
controlGnssHeightFusion();
|
||||
controlGnssHeightFusion(_gps_sample_delayed);
|
||||
controlRangeHeightFusion();
|
||||
controlEvHeightFusion();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user