geo: remove dependency on drv_hrt time driver

This commit is contained in:
Matthias Grob
2024-10-04 14:45:57 +02:00
committed by Mathieu Bresciani
parent f971c0e617
commit fd04ece6d4
9 changed files with 13 additions and 34 deletions
@@ -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);