summaryrefslogtreecommitdiff
path: root/driver_evermore.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-10-02 02:46:31 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-10-02 02:46:31 +0000
commit58717950a7882ba920aeb2044119237fb01f8085 (patch)
tree65c40626e4d470b67512d8a94fa8c9bea703648d /driver_evermore.c
parentee286538bb8476ed968615383f938c6c7719a5f3 (diff)
downloadgpsd-58717950a7882ba920aeb2044119237fb01f8085.tar.gz
My bright idea to use timestamp() to set skyview times backfired...
...making the regression tests nondeterministic. Oh well. Fixed. All drivers now use the LOG_DATA convention.
Diffstat (limited to 'driver_evermore.c')
-rw-r--r--driver_evermore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/driver_evermore.c b/driver_evermore.c
index b4daf79e..8152cbe1 100644
--- a/driver_evermore.c
+++ b/driver_evermore.c
@@ -254,7 +254,7 @@ gps_mask_t evermore_parse(struct gps_device_t *session, unsigned char *buf, size
}
/* that's all the information in this packet */
mask = TIME_SET | DOP_SET | MODE_SET | STATUS_SET;
- gpsd_report(LOG_DATA, "DDO 0x04: gdop=.2%f pdop=.2%f hdop=.2%f vdop=.2%f tdop=.2%f mode=%d, status=%d mask=TIME| DOP|MODE|STATUS\n",
+ gpsd_report(LOG_DATA, "DDO 0x04: gdop=.2%f pdop=.2%f hdop=.2%f vdop=.2%f tdop=.2%f mode=%d, status=%d mask={TIME| DOP|MODE|STATUS}\n",
session->gpsdata.dop.gdop,
session->gpsdata.dop.pdop,
session->gpsdata.dop.hdop,
@@ -305,7 +305,7 @@ gps_mask_t evermore_parse(struct gps_device_t *session, unsigned char *buf, size
session->gpsdata.satellites_visible = (int)satcnt;
/* that's all the information in this packet */
mask = SATELLITE_SET | USED_SET;
- gpsd_report(LOG_DATA, "CSO 0x06: time=%.2f used=%d visible=%d mask=TIME|SATELLITE|USED\n",
+ gpsd_report(LOG_DATA, "CSO 0x06: time=%.2f used=%d visible=%d mask={TIME|SATELLITE|USED}\n",
session->gpsdata.fix.time,
session->gpsdata.satellites_used,
session->gpsdata.satellites_visible);
@@ -320,7 +320,7 @@ gps_mask_t evermore_parse(struct gps_device_t *session, unsigned char *buf, size
/* FIXME: read full statellite status for each channel */
/* we can get pseudo range (m), delta-range (m/s), doppler (Hz) and status for each channel */
/* gpsd_report(LOG_PROG, "MDO 0x04: visible=%d\n", visible); */
- gpsd_report(LOG_DATA, "MDO 0x04: time=%.2f mask=TIME\n",
+ gpsd_report(LOG_DATA, "MDO 0x04: time=%.2f mask={TIME}\n",
session->gpsdata.fix.time);
return TIME_SET;