summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-31 12:12:17 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-03-31 12:12:17 -0400
commitad2abb298af730cbdebf77c749db936bb2e3f621 (patch)
treeea309fda4fca5c0130f00a74e44a1c6373cf3591 /libgpsd_core.c
parent4b758aa04224d588415f04cd8975d1e559a219e1 (diff)
downloadgpsd-ad2abb298af730cbdebf77c749db936bb2e3f621.tar.gz
gps_maskdump() has been a CPU hog. Drastically reduce the number of calls...
...and guard them with debug level so they won't be done when the output would never be shipped anywhere.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index fa28711e..bb70cc94 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -716,8 +716,6 @@ static void gpsd_error_model(struct gps_device_t *session,
if (isnan(fix->time) == 0 && isnan(fix->ept) != 0)
fix->ept = 0.005;
/* Other error computations depend on having a valid fix */
- gpsd_report(LOG_DATA, "modeling errors: mode=%d, masks=%s\n",
- fix->mode, gps_maskdump(session->gpsdata.set));
if (fix->mode >= MODE_2D) {
if (isnan(fix->epx) != 0 && isfinite(session->gpsdata.dop.hdop) != 0)
fix->epx = session->gpsdata.dop.xdop * h_uere;