1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +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 { } else {
// Fly towards the endpoint to prevent flying away, // Fly towards the endpoint to prevent flying away,
// but assume progress=1 either way. // 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; status->fractional_progress = 1;
return; return;
} }