summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-11 08:41:30 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-11 08:41:30 -0400
commitb78a4182ae66afe20fb92b64e33464b8c264e4ef (patch)
treef00124dd906b5c0e07e00a340f821be8b3f5c909 /gpsd.c
parent020fc76ac0b0f07fe0efee4184c84de0707bd7b9 (diff)
downloadgpsd-b78a4182ae66afe20fb92b64e33464b8c264e4ef.tar.gz
Enrich the packet type table.
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gpsd.c b/gpsd.c
index f85730b4..2d18e268 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -202,9 +202,15 @@ static void typelist(void)
(void)fputs("c\t", stdout);
else
(void)fputc('\t', stdout);
+ if ((*dp)->packet_type > NMEA_PACKET)
+ (void)fputs("*\t", stdout);
+ else
+ (void)fputc('\t', stdout);
#endif /* RECONFIGURE_ENABLE */
(void)puts((*dp)->type_name);
}
+ (void)printf("# n: mode switch, b: speed switch, "
+ "c: rate switch, *: non-NMEA packet type.\n");
#if defined(SOCKET_EXPORT_ENABLE)
(void)printf("# Socket export enabled.\n");
#endif