diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-11 10:11:25 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-11 10:11:25 -0400 |
commit | 7a7fa9594b5e3ee025362ae56c39fa0dae5c9445 (patch) | |
tree | 8ac35c441f8c2d4ffbc3e210a09cb32d2a78fc71 /pseudonmea.c | |
parent | 3c1b35615925d4597e475a8422e0021ab288f7ed (diff) | |
download | gpsd-7a7fa9594b5e3ee025362ae56c39fa0dae5c9445.tar.gz |
Move the AIVDM context into the main driver structure scratch area.
This allows us to get ride of the AIVDM event hook, because it all
tthat was doing was zeroing a queue index that will now be zeroed
at the time of the device structure initialization.
Diffstat (limited to 'pseudonmea.c')
-rw-r--r-- | pseudonmea.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudonmea.c b/pseudonmea.c index 456c8dc3..25fe6882 100644 --- a/pseudonmea.c +++ b/pseudonmea.c @@ -293,7 +293,7 @@ static void gpsd_binary_ais_dump(struct gps_device_t *session, unsigned int offset; channel = 'A'; - if (session->aivdm_ais_channel == 'B') { + if (session->driver.aivdm.ais_channel == 'B') { channel = 'B'; } |