From 6f9fa7d3b36aba4e73ef86f6f1bfaf73671ba8e0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 5 Nov 2012 14:29:01 +1100 Subject: [PATCH] AP_GPS: removed shadowed class variable _nav_setting this caused a uBlox to incorrectly configure as "portable" instead of airborne if the detection took more than 2 seconds. That led to terrible performance. --- libraries/AP_GPS/AP_GPS_Auto.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/libraries/AP_GPS/AP_GPS_Auto.h b/libraries/AP_GPS/AP_GPS_Auto.h index a6b6606eef..95b922a373 100644 --- a/libraries/AP_GPS/AP_GPS_Auto.h +++ b/libraries/AP_GPS/AP_GPS_Auto.h @@ -45,7 +45,5 @@ private: static const prog_char _mtk_set_binary[]; static const prog_char _sirf_set_binary[]; - - enum GPS_Engine_Setting _nav_setting; }; #endif