diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-05-12 08:20:14 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-05-12 08:20:14 -0400 |
commit | 4cd7055cc055891cccf1384b4c2eddad1ae89dca (patch) | |
tree | 585ea315bd8a51df7adb223fa0900da77176ec64 /devtools | |
parent | 0fc65ebb208230ed69af9e1968ddb7de95926b1e (diff) | |
download | gpsd-4cd7055cc055891cccf1384b4c2eddad1ae89dca.tar.gz |
Fix AIS type 15 decoding and add a new test from Kurt Schwehr.
Diffstat (limited to 'devtools')
-rwxr-xr-x | devtools/ais.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/ais.py b/devtools/ais.py index c764672d..0a3f2e92 100755 --- a/devtools/ais.py +++ b/devtools/ais.py @@ -395,7 +395,7 @@ type15 = ( bitfield("offset1_1", 12, 'unsigned', 0, "First slot offset"), spare(2), bitfield("type1_2", 6, 'unsigned', 0, "Second message type"), - bitfield("offset1_2", 12, 'unsifned', 0, "Second slot offset"), + bitfield("offset1_2", 12, 'unsigned', 0, "Second slot offset"), spare(2), bitfield("mmsi2", 30, 'unsigned', 0, "Second interrogated MMSI"), bitfield("type2_1", 6, 'unsigned', 0, "Message type"), |