Browse Source

removed unused vars

mission-4.1.18
Jason Short 13 years ago
parent
commit
cf9e744ed2
  1. 3
      ArduCopter/commands.pde

3
ArduCopter/commands.pde

@ -158,8 +158,7 @@ static void set_next_WP(struct Location *wp) @@ -158,8 +158,7 @@ static void set_next_WP(struct Location *wp)
// this is handy for the groundstation
// -----------------------------------
wp_totalDistance = get_distance(&current_loc, &next_WP);
wp_distance = wp_totalDistance;
wp_distance = get_distance(&current_loc, &next_WP);
target_bearing = get_bearing(&prev_WP, &next_WP);
nav_bearing = target_bearing;

Loading…
Cancel
Save