From f2e33f830345ae05b87a7e66f4a9a5f74aa82745 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Sun, 11 Sep 2011 20:27:56 -0700 Subject: [PATCH] removed nav_bearing - not used --- ArduCopter/commands.pde | 1 - 1 file changed, 1 deletion(-) diff --git a/ArduCopter/commands.pde b/ArduCopter/commands.pde index 10d5fb31f3..7984e7c6c7 100644 --- a/ArduCopter/commands.pde +++ b/ArduCopter/commands.pde @@ -190,7 +190,6 @@ static void set_next_WP(struct Location *wp) wp_totalDistance = get_distance(¤t_loc, &next_WP); wp_distance = wp_totalDistance; target_bearing = get_bearing(¤t_loc, &next_WP); - nav_bearing = target_bearing; // to check if we have missed the WP // ----------------------------