summaryrefslogtreecommitdiff
path: root/src/drivers/ao_gps_sirf.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-06-10 09:36:59 -0700
committerKeith Packard <keithp@keithp.com>2014-06-10 09:36:59 -0700
commit998eae61ecf56dd6ead4ec6ad82c952ae84170df (patch)
treeca71f8722a45c0abec512e8a2595ba83ee881e24 /src/drivers/ao_gps_sirf.c
parentd696b34b4823647e2e91093ba9d5a351d3a52f8a (diff)
Revert "altos: Write current flight state to GPS data from GPS drivers"
This reverts commit db6003d34595fbd103d5b131912b6a797254f1c5.
Diffstat (limited to 'src/drivers/ao_gps_sirf.c')
-rw-r--r--src/drivers/ao_gps_sirf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/drivers/ao_gps_sirf.c b/src/drivers/ao_gps_sirf.c
index 344b7121..d89435b9 100644
--- a/src/drivers/ao_gps_sirf.c
+++ b/src/drivers/ao_gps_sirf.c
@@ -413,9 +413,6 @@ ao_gps(void) __reentrant
ao_gps_data.hdop = ao_sirf_data.hdop;
ao_gps_data.climb_rate = ao_sirf_data.climb_rate;
ao_gps_data.flags |= AO_GPS_COURSE_VALID;
-#if HAS_FLIGHT || HAS_TRACKER
- ao_gps_data.state = ao_flight_state;
-#endif
#if 0
if (ao_sirf_data.h_error > 6553500)
ao_gps_data.h_error = 65535;