summaryrefslogtreecommitdiff
path: root/src/ao_gps_test.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-11-15 16:20:18 -0800
committerKeith Packard <keithp@keithp.com>2009-11-15 16:20:18 -0800
commitb0d7e3f9c9322542e9b649bb6ad7f7e5bb99dffa (patch)
tree0f0fcefd67f4bef178ebd282f3151ba93564f55b /src/ao_gps_test.c
parent524665fc221b0d483453c67b7211e282cebc8980 (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_test.c')
-rw-r--r--src/ao_gps_test.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ao_gps_test.c b/src/ao_gps_test.c
index 3692f0e5..fddfedfd 100644
--- a/src/ao_gps_test.c
+++ b/src/ao_gps_test.c
@@ -59,7 +59,6 @@ struct ao_gps_data {
struct ao_gps_sat_data {
uint8_t svid;
- uint8_t state;
uint8_t c_n_1;
};
@@ -435,9 +434,9 @@ ao_dump_state(void *wchan)
printf("\n");
printf ("\t");
for (i = 0; i < 12; i++)
- printf (" %2d(%02x)",
+ printf (" %2d(%02d)",
ao_gps_tracking_data.sats[i].svid,
- ao_gps_tracking_data.sats[i].state);
+ ao_gps_tracking_data.sats[i].c_n_1);
printf ("\n");
}