From 93630b30dfdd72cb034804b0270b0ae7427fde75 Mon Sep 17 00:00:00 2001 From: Werner Backes Date: Sat, 28 Mar 2015 13:42:31 +0100 Subject: [PATCH] Fixed calls to path_circle. --- flight/libraries/paths.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flight/libraries/paths.c b/flight/libraries/paths.c index 071d4b112..8656b920a 100644 --- a/flight/libraries/paths.c +++ b/flight/libraries/paths.c @@ -53,11 +53,11 @@ void path_progress(PathDesiredData *path, float *cur_point, struct path_status * break; case PATHDESIRED_MODE_CIRCLERIGHT: - return path_circle(path, cur_point, status, mode3D); + return path_circle(path, cur_point, status, true); break; case PATHDESIRED_MODE_CIRCLELEFT: - return path_circle(path, cur_point, status, mode3D); + return path_circle(path, cur_point, status, false); break; case PATHDESIRED_MODE_GOTOENDPOINT: