diff options
author | Keith Packard <keithp@keithp.com> | 2014-09-12 20:56:29 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-09-12 20:56:29 -0700 |
commit | 6681d31929266fec9711b3d89a4f074cd2afcc6e (patch) | |
tree | 9bceafc70a658e99947f4936b79e3e4463b314a1 | |
parent | f2d045570d2cda0abde67a68506cb3fc2e119ec3 (diff) |
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 <keithp@keithp.com>
-rw-r--r-- | ao-tools/ao-test-gps/ao-test-gps.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |