summaryrefslogtreecommitdiff
path: root/src/ao_gps_print.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-08-18 23:38:16 -0700
committerKeith Packard <keithp@keithp.com>2009-08-18 23:38:28 -0700
commit33edd62992a32b0ec8ca66d879fa300871db5937 (patch)
treefcc537ef40f60948e75e753d7d992ef0fdab58c6 /src/ao_gps_print.c
parent29687cbd462a332d9a36ed87500c5b737dcae3f4 (diff)
Update ao-view to add GPS satellite tracking data
This adds another column to the display to hold per-satellite GPS tracking data and a count of the visible and locked sats. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_gps_print.c')
-rw-r--r--src/ao_gps_print.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ao_gps_print.c b/src/ao_gps_print.c
index ba0ff68a..cc751337 100644
--- a/src/ao_gps_print.c
+++ b/src/ao_gps_print.c
@@ -102,7 +102,7 @@ ao_gps_tracking_print(__xdata struct ao_gps_tracking_data *gps_tracking_data) __
printf("SAT ");
n = gps_tracking_data->channels;
if (n == 0) {
- printf("not-connected\n");
+ printf("not-connected");
return;
}
sat = gps_tracking_data->sats;
@@ -122,5 +122,4 @@ ao_gps_tracking_print(__xdata struct ao_gps_tracking_data *gps_tracking_data) __
sat->c_n_1);
sat++;
}
- printf ("\n");
}