diff options
| author | Keith Packard <keithp@keithp.com> | 2014-06-10 09:36:59 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-06-10 09:36:59 -0700 |
| commit | 998eae61ecf56dd6ead4ec6ad82c952ae84170df (patch) | |
| tree | ca71f8722a45c0abec512e8a2595ba83ee881e24 /src/drivers/ao_gps_ublox.c | |
| parent | d696b34b4823647e2e91093ba9d5a351d3a52f8a (diff) | |
Revert "altos: Write current flight state to GPS data from GPS drivers"
This reverts commit db6003d34595fbd103d5b131912b6a797254f1c5.
Diffstat (limited to 'src/drivers/ao_gps_ublox.c')
| -rw-r--r-- | src/drivers/ao_gps_ublox.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/drivers/ao_gps_ublox.c b/src/drivers/ao_gps_ublox.c index 6c42c1ba..077698a9 100644 --- a/src/drivers/ao_gps_ublox.c +++ b/src/drivers/ao_gps_ublox.c @@ -749,9 +749,7 @@ ao_gps(void) __reentrant ao_gps_data.ground_speed = nav_velned.g_speed; ao_gps_data.climb_rate = -nav_velned.vel_d; ao_gps_data.course = nav_velned.heading / 200000; -#if HAS_FLIGHT || HAS_TRACKER - ao_gps_data.state = ao_flight_state; -#endif + ao_gps_tracking_data.channels = 0; struct ao_telemetry_satellite_info *dst = &ao_gps_tracking_data.sats[0]; |
