diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2007-12-28 03:13:44 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2007-12-28 03:13:44 +0000 |
commit | 35515b0d8d0b4594b90d7b6cc9cca218e89ee824 (patch) | |
tree | a367a14d3a083772b3f90000c29338b60af74366 /packet_states.h | |
parent | df59e120bc7ecc8e737857e0710d95fc6a68e4ce (diff) | |
download | gpsd-35515b0d8d0b4594b90d7b6cc9cca218e89ee824.tar.gz |
Backed out some recent changes that broke regression tests.
Specifically, the changes to sirf.c from ckuethe to stop
rAte-linmiting satellite messages (27 Dec 2007) and the changes to
packet.c and packet.states.h from ckuethe on 25 Dec 2007 to make the
packet sniffer 'a bit more picky'.
The packet-getter changes need to be re-implemented in a way
that doesn't break the RTCM regression test.
The SiRF changes will break the regression tests, and that's OK, but
they need to be committed along with a rebuild of the tests so
the tests pass after commit.
Diffstat (limited to 'packet_states.h')
-rw-r--r-- | packet_states.h | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/packet_states.h b/packet_states.h index 2bfe9c78..b3a0af95 100644 --- a/packet_states.h +++ b/packet_states.h @@ -65,26 +65,10 @@ #endif /* ZODIAC_ENABLE */ #if defined(TNT_ENABLE) || defined(GARMINTXT_ENABLE) - AT_LEADER, /* saw True North status leader '@' */ - /* Garmin Simple Text starts with @ leader */ + TNT_LEADER, /* saw True North status leader '@' */ + /* Garmin Simple Text starts with @ leader */ #endif -#ifdef TNT_ENABLE - TNT_CMDCHAR, /* one of: B C F I W X */ - TNT_RECOGNIZED, -#endif - -#ifdef GARMINTXT_ENABLE - GARMINTXT_NUM1, /* Garmin Simple Text starts with a YYMMDD date */ - GARMINTXT_NUM2, /* Attempt to match that to reduce wrong sniffs */ - GARMINTXT_NUM3, - GARMINTXT_NUM4, - GARMINTXT_NUM5, - GARMINTXT_NUM6, - GARMINTXT_RECOGNIZED, -#endif - - #ifdef EVERMORE_ENABLE EVERMORE_LEADER_1, /* a DLE after having seen EverMore data */ EVERMORE_LEADER_2, /* seen opening STX of EverMore packet */ |