mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 04:23:33 +08:00
geo: remove dependency on drv_hrt time driver
This commit is contained in:
committed by
Mathieu Bresciani
parent
f971c0e617
commit
fd04ece6d4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user