diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-06-03 20:27:24 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-06-03 20:27:24 +0000 |
commit | f2971832fe84c34e53ec737eddab4732af5405a6 (patch) | |
tree | b064ada4d1a7d1cf1cb86ef39dd0be3fcf132906 /gpsfake | |
parent | 1d634dc1bb21676ee4a38c6103bb42434641a3af (diff) | |
download | gpsd-f2971832fe84c34e53ec737eddab4732af5405a6.tar.gz |
Fix compile error when all of SiRF, Garmin, and TSIP are disables.
Also, fix gpsfake's ability to handle SiRF logs.
Diffstat (limited to 'gpsfake')
-rwxr-xr-x | gpsfake | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -64,13 +64,13 @@ try: leader = '$'; legend = "gpsfake: line %d " textual = 1 - elif logdata[0] == 0xa0: + elif logdata[0] == '\xa0': print "gpsfake: interpreting as SiRF-II binary packets" - leader = 0xa0 + leader = '\xa0' legend = "gpsfake: packet %d" textual = 0 else: - print "gpsfake: unknown log type, can't handle it!" + print "gpsfake: unknown log type (not NMEA or SiRF) can't handle it!" logdata = None if logdata: |