From: Keith Packard Date: Sat, 13 Sep 2014 03:56:29 +0000 (-0700) Subject: ao-tools/ao-test-gps: Improve output formatting X-Git-Tag: bdale-altosdroid~31 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=6681d31929266fec9711b3d89a4f074cd2afcc6e ao-tools/ao-test-gps: Improve output formatting Add a newline before printing out the flags and sats at exit time Signed-off-by: Keith Packard --- diff --git a/ao-tools/ao-test-gps/ao-test-gps.c b/ao-tools/ao-test-gps/ao-test-gps.c index 08b6602f..84ed713d 100644 --- a/ao-tools/ao-test-gps/ao-test-gps.c +++ b/ao-tools/ao-test-gps/ao-test-gps.c @@ -160,6 +160,7 @@ do_gps(struct cc_usb *usb) { int actual_sats = strtol(sats[1], NULL, 0); if (actual_flags & (1 << 4)) { + printf("\n"); printf("Flags: %s (0x%x)\n", flags[1], actual_flags); printf("Sats: %s (%d)\n", sats[1], actual_sats); break;