diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-31 12:12:17 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-31 12:12:17 -0400 |
commit | ad2abb298af730cbdebf77c749db936bb2e3f621 (patch) | |
tree | ea309fda4fca5c0130f00a74e44a1c6373cf3591 /libgpsd_core.c | |
parent | 4b758aa04224d588415f04cd8975d1e559a219e1 (diff) | |
download | gpsd-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.c | 2 |
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; |