From b054fc7b8b899b5b4c7582a8928210bc9368ecc3 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Fri, 24 Dec 2021 10:55:20 -0500 Subject: [PATCH] navigator: trivial code style fix --- src/modules/navigator/navigator_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/navigator/navigator_main.cpp b/src/modules/navigator/navigator_main.cpp index 10143be2e7..7457b83a14 100644 --- a/src/modules/navigator/navigator_main.cpp +++ b/src/modules/navigator/navigator_main.cpp @@ -864,7 +864,7 @@ void Navigator::geofence_breach_check(bool &have_geofence_position_data) // the computation of the braking distance does not match the actual braking distance. Until we have a better model // we set the loiter point to the current position, that will make sure that the vehicle will loiter inside the fence loiter_center_lat_lon = _gf_breach_avoidance.generateLoiterPointForMultirotor(gf_violation_type, - &_geofence); + &_geofence); loiter_altitude_amsl = _gf_breach_avoidance.generateLoiterAltitudeForMulticopter(gf_violation_type);