1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Missing argument for path_endpoint added.

This commit is contained in:
Werner Backes 2014-07-31 16:31:16 +02:00
parent 446415457d
commit f29f7fa680

View File

@ -168,7 +168,7 @@ static void path_vector(float *start_point, float *end_point, float *cur_point,
} else {
// Fly towards the endpoint to prevent flying away,
// but assume progress=1 either way.
path_endpoint(start_point, end_point, cur_point, status);
path_endpoint(start_point, end_point, cur_point, status, mode3D);
status->fractional_progress = 1;
return;
}