diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-13 20:03:04 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-13 21:10:58 -0500 |
commit | cfc75901928f2eb1ce3de20a747b2d01fb11093d (patch) | |
tree | 42844e11b2198d864b03b4c235c3e64cd8bf225a /driver_ais.c | |
parent | bf5b00068962e2ca62e3ce1a79fd588232fe4e06 (diff) | |
download | gpsd-cfc75901928f2eb1ce3de20a747b2d01fb11093d.tar.gz |
Clean up an obsolete comment and redundant #ifdef.
All regression tests pass. PPS is live in both gpsd and gpsmon.
Diffstat (limited to 'driver_ais.c')
-rw-r--r-- | driver_ais.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/driver_ais.c b/driver_ais.c index a5c48cb2..0bc40361 100644 --- a/driver_ais.c +++ b/driver_ais.c @@ -1056,6 +1056,7 @@ bool ais_binary_decode(const int debug, * the destination MMSI */ ais->type25.bitcount = bitlen - 40 - 16*ais->type25.structured; + /* bit 40 is exactly 5 bytes in; 2 bytes is 16 bits */ (void)memcpy(ais->type25.bitdata, (char *)bits+5 + 2 * ais->type25.structured, (ais->type25.bitcount + 7) / 8); |