From 4e6d41bc8e90f3d18f8e2bbc4e2c50d454cec401 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 22 Nov 2013 11:53:50 +0900 Subject: [PATCH] Copter: remove unused gps_fix_count --- ArduCopter/ArduCopter.pde | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index 95b1cab61e..adad6e2521 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -782,8 +782,6 @@ static AC_WPNav wp_nav(&inertial_nav, &ahrs, &g.pi_loiter_lat, &g.pi_loiter_lon, //////////////////////////////////////////////////////////////////////////////// // Performance monitoring //////////////////////////////////////////////////////////////////////////////// -// The number of GPS fixes we have had -static uint8_t gps_fix_count; static int16_t pmTest1; // System Timers @@ -981,7 +979,6 @@ static void perf_update(void) (unsigned long)perf_info_get_max_time()); } perf_info_reset(); - gps_fix_count = 0; pmTest1 = 0; } @@ -1313,9 +1310,6 @@ static void update_GPS(void) // clear new data flag g_gps->new_data = false; - // for performance monitoring - gps_fix_count++; - // check if we can initialise home yet if (!ap.home_is_set) { // if we have a 3d lock and valid location