29 lines
855 B
Diff
29 lines
855 B
Diff
--- libgpsd_core.c.orig 2007-12-13 15:00:33.000000000 +0000
|
|
+++ libgpsd_core.c 2007-12-13 15:06:54.000000000 +0000
|
|
@@ -404,7 +404,7 @@
|
|
#define ZEROIZE(x) (isnan(x)!=0 ? 0.0 : x)
|
|
ZEROIZE(session->gpsdata.fix.speed * MPS_TO_KNOTS),
|
|
ZEROIZE(session->gpsdata.fix.track),
|
|
-#undef ZEROIZE
|
|
+/*#undef ZEROIZE*/
|
|
tm.tm_mday,
|
|
tm.tm_mon,
|
|
tm.tm_year);
|
|
@@ -414,6 +414,7 @@
|
|
|
|
static void gpsd_binary_fix_dump(struct gps_device_t *session,
|
|
char bufp[], size_t len)
|
|
+
|
|
{
|
|
gpsd_position_fix_dump(session, bufp, len);
|
|
gpsd_transit_fix_dump(session, bufp + strlen(bufp), len - strlen(bufp));
|
|
@@ -514,7 +515,7 @@
|
|
ZEROIZE(session->gpsdata.epe * (CEP50_SIGMA/GPSD_CONFIDENCE)));
|
|
nmea_add_checksum(bufp);
|
|
}
|
|
-#undef ZEROIZE
|
|
+/*#undef ZEROIZE*/
|
|
}
|
|
|
|
static void gpsd_binary_dump(struct gps_device_t *session,
|