summaryrefslogtreecommitdiff
path: root/driver_zodiac.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-09-07 06:24:26 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-09-07 06:24:26 -0400
commit620f7445dcacfbb740c55a9e4b891593c3f94910 (patch)
treee092711dae9ac1af540a2e5469493f13303248c1 /driver_zodiac.c
parent76b2aaba9575d60230387555822b18ceeb07353a (diff)
downloadgpsd-620f7445dcacfbb740c55a9e4b891593c3f94910.tar.gz
Nuke trailing whitespace in C source.
Diffstat (limited to 'driver_zodiac.c')
-rw-r--r--driver_zodiac.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/driver_zodiac.c b/driver_zodiac.c
index 48faa803..9a99c663 100644
--- a/driver_zodiac.c
+++ b/driver_zodiac.c
@@ -3,7 +3,7 @@
*
* Week counters are not limited to 10 bits. It's unknown what
* the firmware is doing to disambiguate them, if anything; it might just
- * be adding a fixed offset based on a hidden epoch value, in which case
+ * be adding a fixed offset based on a hidden epoch value, in which case
* unhappy things will occur on the next rollover.
*
* This file is Copyright (c) 2010 by the GPSD project
@@ -183,8 +183,8 @@ static gps_mask_t handle1000(struct gps_device_t *session)
session->newdata.longitude = ((long)getzlong(29)) * RAD_2_DEG * 1e-8;
/*
* The Rockwell Jupiter TU30-D140 reports altitude as uncorrected height
- * above WGS84 geoid. The Zodiac binary protocol manual does not
- * specify whether word 31 is geodetic or WGS 84.
+ * above WGS84 geoid. The Zodiac binary protocol manual does not
+ * specify whether word 31 is geodetic or WGS 84.
*/
session->newdata.altitude = ((long)getzlong(31)) * 1e-2;
/*@ +type @*/
@@ -195,7 +195,7 @@ static gps_mask_t handle1000(struct gps_device_t *session)
session->mag_var = ((short)getzword(37)) * RAD_2_DEG * 1e-4;
session->newdata.climb = ((short)getzword(38)) * 1e-2;
/* map_datum = getzword(39); */
- /*
+ /*
* The manual says these are 1-sigma. Device reports only eph, circular
* error; no harm in assigning it to both x and y components.
*/
@@ -367,7 +367,7 @@ static gps_mask_t zodiac_analyze(struct gps_device_t *session)
const struct gps_type_t **dp;
gpsd_report(LOG_PROG, "zodiac_analyze packet type %d\n",
session->packet.type);
- // Wrong packet type ?
+ // Wrong packet type ?
// Maybe find a trigger just in case it's an Earthmate
gpsd_report(LOG_RAW + 4, "Is this a trigger: %s ?\n",
(char *)session->packet.outbuffer);
@@ -401,7 +401,7 @@ static gps_mask_t zodiac_analyze(struct gps_device_t *session)
(void)snprintf(session->gpsdata.tag, sizeof(session->gpsdata.tag), "%u",
id);
- /*
+ /*
* Normal cycle for these devices is 1001 1002.
* We count 1001 as end of cycle because 1002 doesn't
* carry fix information.