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:
parent
4bd2e889ce
commit
93630b30df
@ -53,11 +53,11 @@ void path_progress(PathDesiredData *path, float *cur_point, struct path_status *
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
case PATHDESIRED_MODE_CIRCLERIGHT:
|
case PATHDESIRED_MODE_CIRCLERIGHT:
|
||||||
return path_circle(path, cur_point, status, mode3D);
|
return path_circle(path, cur_point, status, true);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case PATHDESIRED_MODE_CIRCLELEFT:
|
case PATHDESIRED_MODE_CIRCLELEFT:
|
||||||
return path_circle(path, cur_point, status, mode3D);
|
return path_circle(path, cur_point, status, false);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case PATHDESIRED_MODE_GOTOENDPOINT:
|
case PATHDESIRED_MODE_GOTOENDPOINT:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user