From 35515b0d8d0b4594b90d7b6cc9cca218e89ee824 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 28 Dec 2007 03:13:44 +0000 Subject: 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. --- packet_states.h | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'packet_states.h') 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 */ -- cgit v1.2.1