mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-25 18:18:49 -04:00
removed unused vars
This commit is contained in:
parent
8ed2d96396
commit
cf9e744ed2
@ -158,8 +158,7 @@ static void set_next_WP(struct Location *wp)
|
|||||||
|
|
||||||
// this is handy for the groundstation
|
// this is handy for the groundstation
|
||||||
// -----------------------------------
|
// -----------------------------------
|
||||||
wp_totalDistance = get_distance(¤t_loc, &next_WP);
|
wp_distance = get_distance(¤t_loc, &next_WP);
|
||||||
wp_distance = wp_totalDistance;
|
|
||||||
target_bearing = get_bearing(&prev_WP, &next_WP);
|
target_bearing = get_bearing(&prev_WP, &next_WP);
|
||||||
nav_bearing = target_bearing;
|
nav_bearing = target_bearing;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user