mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 11:20:34 +08:00
geo: remove dependency on drv_hrt time driver
This commit is contained in:
committed by
Mathieu Bresciani
parent
f971c0e617
commit
fd04ece6d4
@@ -623,7 +623,7 @@ bool FlightTaskAuto::_evaluateGlobalReference()
|
||||
}
|
||||
|
||||
// init projection
|
||||
_reference_position.initReference(ref_lat, ref_lon);
|
||||
_reference_position.initReference(ref_lat, ref_lon, _time_stamp_current);
|
||||
|
||||
// check if everything is still finite
|
||||
return PX4_ISFINITE(_reference_altitude) && PX4_ISFINITE(ref_lat) && PX4_ISFINITE(ref_lon);
|
||||
|
||||
Reference in New Issue
Block a user