diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-24 13:10:18 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-24 13:10:18 -0400 |
commit | 6ed6c19c2309980751cd4609d7ec64180174b23f (patch) | |
tree | 853937f52275b2a3286858638799b91b875ba9bd /driver_ais.c | |
parent | 57ddbc5ff87dd4d9b98c8ac2bd4cfd9870a4fe6b (diff) | |
download | gpsd-6ed6c19c2309980751cd4609d7ec64180174b23f.tar.gz |
Fix comment typo, width of spare field in AIS type 17.
Diffstat (limited to 'driver_ais.c')
-rw-r--r-- | driver_ais.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_ais.c b/driver_ais.c index b08d95cc..5fe727c8 100644 --- a/driver_ais.c +++ b/driver_ais.c @@ -811,7 +811,7 @@ bool ais_binary_decode(const struct gpsd_errout_t *errout, //ais->type17.spare = UBITS(38, 2); ais->type17.lon = UBITS(40, 18); ais->type17.lat = UBITS(58, 17); - //ais->type17.spare = UBITS(75, 4); + //ais->type17.spare = UBITS(75, 5); ais->type17.bitcount = bitlen - 80; (void)memcpy(ais->type17.bitdata, (char *)bits + (80 / CHAR_BIT), |