Browse Source

SITL: removed an unused variable

mission-4.1.18
Andrew Tridgell 13 years ago
parent
commit
a6543f1e84
  1. 1
      libraries/Desktop/support/sitl_gps.cpp

1
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_POSLLH = 0x2;
const uint8_t MSG_STATUS = 0x3; const uint8_t MSG_STATUS = 0x3;
const uint8_t MSG_VELNED = 0x12; const uint8_t MSG_VELNED = 0x12;
double lon_scale;
// 5Hz, to match the real UBlox config in APM // 5Hz, to match the real UBlox config in APM
if (millis() - gps_state.last_update < 200) { if (millis() - gps_state.last_update < 200) {

Loading…
Cancel
Save