From a6543f1e84bdeda932c620a5f4605d2b637972ad Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 27 Jun 2012 16:00:05 +1000 Subject: [PATCH] SITL: removed an unused variable --- libraries/Desktop/support/sitl_gps.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/Desktop/support/sitl_gps.cpp b/libraries/Desktop/support/sitl_gps.cpp index 8bb72892c8..431ebf56b3 100644 --- a/libraries/Desktop/support/sitl_gps.cpp +++ b/libraries/Desktop/support/sitl_gps.cpp @@ -113,7 +113,6 @@ void sitl_update_gps(double latitude, double longitude, float altitude, const uint8_t MSG_POSLLH = 0x2; const uint8_t MSG_STATUS = 0x3; const uint8_t MSG_VELNED = 0x12; - double lon_scale; // 5Hz, to match the real UBlox config in APM if (millis() - gps_state.last_update < 200) {