summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-05-12 08:20:14 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-05-12 08:20:14 -0400
commit4cd7055cc055891cccf1384b4c2eddad1ae89dca (patch)
tree585ea315bd8a51df7adb223fa0900da77176ec64 /devtools
parent0fc65ebb208230ed69af9e1968ddb7de95926b1e (diff)
downloadgpsd-4cd7055cc055891cccf1384b4c2eddad1ae89dca.tar.gz
Fix AIS type 15 decoding and add a new test from Kurt Schwehr.
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/ais.py2
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"),