diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-12-01 18:21:29 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-12-01 18:21:29 +0000 |
commit | 9ac8b3fce0fc5d33b11d7036da17a91d08feeacb (patch) | |
tree | 4861708b477eee854939bf145f9f5a53b3a3f027 /packet_states.h | |
parent | ab8f46f5ac7461bef5123b0445277a9258eaba53 (diff) | |
download | gpsd-9ac8b3fce0fc5d33b11d7036da17a91d08feeacb.tar.gz |
Fix ALLOW_RECONFIGURE compilation.
Teach the daemon to ignore comment packets led with # and ended with \n.
Diffstat (limited to 'packet_states.h')
-rw-r--r-- | packet_states.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packet_states.h b/packet_states.h index 8f6c174f..d2ea8d85 100644 --- a/packet_states.h +++ b/packet_states.h @@ -1,6 +1,9 @@ /* $Id$ */ GROUND_STATE, /* we don't know what packet type to expect */ + COMMENT_BODY, /* pound comment for a test load */ + COMMENT_RECOGNIZED, /* comment recognized */ + #ifdef NMEA_ENABLE NMEA_DOLLAR, /* we've seen first character of NMEA leader */ NMEA_PUB_LEAD, /* seen second character of NMEA G leader */ |