diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-11-17 19:23:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-11-17 19:23:00 +0000 |
commit | d678f81143a57f9a61e898c272f95da696848c62 (patch) | |
tree | a9f06307f3b649ca749ee8921caa261eb96e488a /driver_superstar2.c | |
parent | bc803dee5dcd2fa36b10398f4a081a8aac46e6fb (diff) | |
download | gpsd-d678f81143a57f9a61e898c272f95da696848c62.tar.gz |
Fix some whitespace glitches found while experimenting with indent(1).
All regression tests pass.
Diffstat (limited to 'driver_superstar2.c')
-rw-r--r-- | driver_superstar2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_superstar2.c b/driver_superstar2.c index b2fa4365..5bbdfe6b 100644 --- a/driver_superstar2.c +++ b/driver_superstar2.c @@ -393,7 +393,7 @@ superstar2_msg_measurement(struct gps_device_t *session, unsigned char *buf, siz n = (int)getub(buf, 6); /* number of measurements */ t = getled(buf, 7); /* measurement time */ - for(i = 0; i < n; i++){ + for(i = 0; i < n; i++) { session->gpsdata.raw.mtime[i] = t; session->gpsdata.PRN[i] = (int)getub(buf, 11*i + 15) & 0x1f; session->gpsdata.ss[i] = (double)getub(buf, 11*i * 15 +1 )/4.0; @@ -582,7 +582,7 @@ static gps_mask_t superstar2_parse_input(struct gps_device_t *session) { gps_mask_t st; - if (session->packet.type == SUPERSTAR2_PACKET){ + if (session->packet.type == SUPERSTAR2_PACKET) { st = superstar2_dispatch(session, session->packet.outbuffer, session->packet.length); session->gpsdata.dev.driver_mode = MODE_BINARY; |