diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-01 09:41:37 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-01 09:41:37 +0000 |
commit | 17a2237540735cfe3284226e4422bb1d09e71b4e (patch) | |
tree | 14f4529031e2c64c6850bcf9ca3bd6704f9c3af9 /driver_aivdm.c | |
parent | afb11120aba9cbe40e2e3e0f04550833817253e5 (diff) | |
download | gpsd-17a2237540735cfe3284226e4422bb1d09e71b4e.tar.gz |
Fix dumping of AIS message 19 (dte was missing).
Code generation for AIS messages up to 19. Rebuild two affected
regression tests (all tests pass).
Diffstat (limited to 'driver_aivdm.c')
-rw-r--r-- | driver_aivdm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/driver_aivdm.c b/driver_aivdm.c index 825b6300..71c0e403 100644 --- a/driver_aivdm.c +++ b/driver_aivdm.c @@ -372,11 +372,11 @@ bool aivdm_decode(char *buf, size_t buflen, struct aivdm_context_t *ais_context) ais->type18.heading = UBITS(124, 9); ais->type18.second = UBITS(133, 6); ais->type18.regional = UBITS(139, 2); - ais->type18.cs_flag = UBITS(141, 1)!=0; - ais->type18.display_flag = UBITS(142, 1)!=0; - ais->type18.dsc_flag = UBITS(143, 1)!=0; - ais->type18.band_flag = UBITS(144, 1)!=0; - ais->type18.msg22_flag = UBITS(145, 1)!=0; + ais->type18.cs = UBITS(141, 1)!=0; + ais->type18.display = UBITS(142, 1)!=0; + ais->type18.dsc = UBITS(143, 1)!=0; + ais->type18.band = UBITS(144, 1)!=0; + ais->type18.msg22 = UBITS(145, 1)!=0; ais->type18.assigned = UBITS(146, 1)!=0; ais->type18.raim = UBITS(147, 1)!=0; ais->type18.radio = UBITS(148, 20); |