diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-07-05 10:18:03 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-07-05 10:44:17 -0400 |
commit | 8bd4a2e7cf73b3f6767356e75db6e53510dec3ad (patch) | |
tree | eecf9cfe22a52d9c2338a8c951aa435c3d3fee06 | |
parent | cbd94ec69bf40ac03ef6de1205a5611cbc94f240 (diff) | |
download | gpsd-8bd4a2e7cf73b3f6767356e75db6e53510dec3ad.tar.gz |
Cosmetic fix.
-rw-r--r-- | driver_ais.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/driver_ais.c b/driver_ais.c index f83a7823..7d9029c6 100644 --- a/driver_ais.c +++ b/driver_ais.c @@ -92,19 +92,19 @@ bool ais_binary_decode(struct ais_t *ais, bitlen); return false; } - ais->type1.status = UBITS(38, 4); + ais->type1.status = UBITS(38, 4); ais->type1.turn = SBITS(42, 8); - ais->type1.speed = UBITS(50, 10); - ais->type1.accuracy = UBITS(60, 1)!=0; + ais->type1.speed = UBITS(50, 10); + ais->type1.accuracy = UBITS(60, 1)!=0; ais->type1.lon = SBITS(61, 28); ais->type1.lat = SBITS(89, 27); - ais->type1.course = UBITS(116, 12); - ais->type1.heading = UBITS(128, 9); - ais->type1.second = UBITS(137, 6); - ais->type1.maneuver = UBITS(143, 2); - //ais->type1.spare = UBITS(145, 3); + ais->type1.course = UBITS(116, 12); + ais->type1.heading = UBITS(128, 9); + ais->type1.second = UBITS(137, 6); + 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, 20); break; case 4: /* Base Station Report */ case 11: /* UTC/Date Response */ @@ -115,18 +115,18 @@ bool ais_binary_decode(struct ais_t *ais, return false; } ais->type4.year = UBITS(38, 14); - ais->type4.month = UBITS(52, 4); + ais->type4.month = UBITS(52, 4); ais->type4.day = UBITS(56, 5); ais->type4.hour = UBITS(61, 5); - ais->type4.minute = UBITS(66, 6); - ais->type4.second = UBITS(72, 6); - ais->type4.accuracy = UBITS(78, 1)!=0; + ais->type4.minute = UBITS(66, 6); + ais->type4.second = UBITS(72, 6); + ais->type4.accuracy = UBITS(78, 1)!=0; ais->type4.lon = SBITS(79, 28); ais->type4.lat = SBITS(107, 27); ais->type4.epfd = UBITS(134, 4); - //ais->type4.spare = UBITS(138, 10); + //ais->type4.spare = UBITS(138, 10); ais->type4.raim = UBITS(148, 1)!=0; - ais->type4.radio = UBITS(149, 19); + ais->type4.radio = UBITS(149, 19); break; case 5: /* Ship static and voyage related data */ if (bitlen != 424) { |