diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-11 08:41:30 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-11 08:41:30 -0400 |
commit | b78a4182ae66afe20fb92b64e33464b8c264e4ef (patch) | |
tree | f00124dd906b5c0e07e00a340f821be8b3f5c909 /gpsd.c | |
parent | 020fc76ac0b0f07fe0efee4184c84de0707bd7b9 (diff) | |
download | gpsd-b78a4182ae66afe20fb92b64e33464b8c264e4ef.tar.gz |
Enrich the packet type table.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |