Switch from GPLv2 to GPLv2+
[fw/altos] / ao-tools / ao-test-gps / ao-test-gps.c
index 08b6602f794edb637443051dc47987f5e66c9096..5012028c15bfe088bf67aad2a6ed9ccf5962f05c 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -160,6 +161,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;