summaryrefslogtreecommitdiff
path: root/gpsd.hotplug.wrapper
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2007-01-11 02:06:56 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2007-01-11 02:06:56 +0000
commit033735841667900a4646e3749f23149b08e6e61e (patch)
treef0512650ba8a27eb57501c28727a5d7afb8f5b90 /gpsd.hotplug.wrapper
parentbf95b046a85dfc29c47fa85f8ec107767a6e42fd (diff)
downloadgpsd-033735841667900a4646e3749f23149b08e6e61e.tar.gz
Fix to a packet-sniffer bug handling $P..
Diego Berge sent me an example of some line noise which just happened to have $P<garbage> in it. This tricked the packet sniffer into thinking it found an NMEA device. This change means that now 2 letters are required after the '$' to trigger a detect. If this still false-positives too much, I might crank it up to 4, to match on $PFec, $PFST, $PUBX, $PSRF and the like.
Diffstat (limited to 'gpsd.hotplug.wrapper')
0 files changed, 0 insertions, 0 deletions