diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-04-26 22:19:18 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-04-26 22:19:18 -0400 |
commit | b31ea3f7b9c084f8f15f79214117e62683e360d9 (patch) | |
tree | 9675bed4c36014524c036ae827db025a5d62e969 /driver_zodiac.c | |
parent | 1acb38fc6f58cf20fd3f46dc2b6e1154b58e147c (diff) | |
download | gpsd-b31ea3f7b9c084f8f15f79214117e62683e360d9.tar.gz |
Reindent. All regression tests pass.
Most of the bulk of this one is the xgpsspeed code, which was not
formerly incldecd in reindenting.
Diffstat (limited to 'driver_zodiac.c')
-rw-r--r-- | driver_zodiac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_zodiac.c b/driver_zodiac.c index a96d8f65..fb40381d 100644 --- a/driver_zodiac.c +++ b/driver_zodiac.c @@ -152,7 +152,7 @@ static gps_mask_t handle1000(struct gps_device_t *session) /* solution_type = getzword(11); */ session->gpsdata.satellites_used = (int)getzword(12); /* polar_navigation = getzword(13); */ - session->context->gps_week = (unsigned short)getzword(14); + session->context->gps_week = (unsigned short)getzword(14); /* gps_seconds = getzlong(15); */ /* gps_nanoseconds = getzlong(17); */ unpacked_date.tm_mday = (int)getzword(19); @@ -241,7 +241,7 @@ static gps_mask_t handle1002(struct gps_device_t *session) } } session->context->gps_week = (unsigned short)gps_week; - session->context->gps_tow = (double) gps_seconds; + session->context->gps_tow = (double)gps_seconds; session->gpsdata.skyview_time = gpstime_to_unix(gps_week, session->context->gps_tow); gpsd_report(LOG_DATA, "1002: visible=%d used=%d mask={SATELLITE|USED}\n", |