diff options
author | Keith Packard <keithp@keithp.com> | 2009-11-15 16:20:18 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-11-15 16:20:18 -0800 |
commit | b0d7e3f9c9322542e9b649bb6ad7f7e5bb99dffa (patch) | |
tree | 0f0fcefd67f4bef178ebd282f3151ba93564f55b /src/ao_gps_print.c | |
parent | 524665fc221b0d483453c67b7211e282cebc8980 (diff) |
Stop using SiRF state info.
With the switch to the skytraq GPS unit, we don't have the same level
of detail in the GPS stream, so stop reporting that in the telemetry
stream, in the UI and writing it to eeprom.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_gps_print.c')
-rw-r--r-- | src/ao_gps_print.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ao_gps_print.c b/src/ao_gps_print.c index 95439ec7..b8b73cd2 100644 --- a/src/ao_gps_print.c +++ b/src/ao_gps_print.c @@ -112,17 +112,16 @@ ao_gps_tracking_print(__xdata struct ao_gps_tracking_data *gps_tracking_data) __ sat = gps_tracking_data->sats; v = 0; for (c = 0; c < n; c++) { - if (sat->svid && sat->state) + if (sat->svid) v++; sat++; } printf("%d ", v); sat = gps_tracking_data->sats; for (c = 0; c < n; c++) { - if (sat->svid && sat->state) - printf (" %3d %02x %3d", + if (sat->svid) + printf (" %3d %3d", sat->svid, - sat->state, sat->c_n_1); sat++; } |