geo: remove dependency on drv_hrt time driver

This commit is contained in:
Matthias Grob
2024-10-07 14:24:18 +02:00
committed by Mathieu Bresciani
parent f971c0e617
commit fd04ece6d4
9 changed files with 13 additions and 34 deletions
+1 -1
View File
@@ -511,7 +511,7 @@ bool Geofence::insideCircle(const PolygonInfo &polygon, double lat, double lon,
}
if (!_projection_reference.isInitialized()) {
_projection_reference.initReference(lat, lon);
_projection_reference.initReference(lat, lon, hrt_absolute_time());
}
float x1, y1, x2, y2;