1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-19 04:52:12 +01:00

Fixed calls to path_circle.

This commit is contained in:
Werner Backes 2015-03-28 13:42:31 +01:00
parent 4bd2e889ce
commit 93630b30df

View File

@ -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: