summaryrefslogtreecommitdiff
path: root/driver_ais.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-07-05 10:38:18 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-07-05 10:44:17 -0400
commit393adafe5abb4959d5575aa52b670096adc09134 (patch)
treee2781c1a1312dde2df0e34d08264dbb7041f0afa /driver_ais.c
parent8bd4a2e7cf73b3f6767356e75db6e53510dec3ad (diff)
downloadgpsd-393adafe5abb4959d5575aa52b670096adc09134.tar.gz
Minor fix to AIS type 1,2,3 radio field decoding.
Diffstat (limited to 'driver_ais.c')
-rw-r--r--driver_ais.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_ais.c b/driver_ais.c
index 7d9029c6..daf83e27 100644
--- a/driver_ais.c
+++ b/driver_ais.c
@@ -104,7 +104,7 @@ bool ais_binary_decode(struct ais_t *ais,
ais->type1.maneuver = UBITS(143, 2);
//ais->type1.spare = UBITS(145, 3);
ais->type1.raim = UBITS(148, 1)!=0;
- ais->type1.radio = UBITS(149, 20);
+ ais->type1.radio = UBITS(149, 19);
break;
case 4: /* Base Station Report */
case 11: /* UTC/Date Response */