From 33edd62992a32b0ec8ca66d879fa300871db5937 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 18 Aug 2009 23:38:16 -0700 Subject: 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 --- src/ao_gps_print.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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"); } -- cgit v1.2.3