summaryrefslogtreecommitdiff
path: root/driver_zodiac.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 /driver_zodiac.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 'driver_zodiac.c')
-rw-r--r--driver_zodiac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_zodiac.c b/driver_zodiac.c
index ef763759..92b5ced8 100644
--- a/driver_zodiac.c
+++ b/driver_zodiac.c
@@ -204,12 +204,12 @@ static gps_mask_t handle1000(struct gps_device_t *session)
TIME_SET | PPSTIME_IS | LATLON_SET | ALTITUDE_SET | CLIMB_SET | SPEED_SET |
TRACK_SET | STATUS_SET | MODE_SET;
gpsd_report(LOG_DATA,
- "1000: time=%.2f lat=%.2f lon=%.2f alt=%.2f track=%.2f speed=%.2f climb=%.2f mode=%d status=%d mask=%s\n",
+ "1000: time=%.2f lat=%.2f lon=%.2f alt=%.2f track=%.2f speed=%.2f climb=%.2f mode=%d status=%d\n",
session->newdata.time, session->newdata.latitude,
session->newdata.longitude, session->newdata.altitude,
session->newdata.track, session->newdata.speed,
session->newdata.climb, session->newdata.mode,
- session->gpsdata.status, gps_maskdump(mask));
+ session->gpsdata.status);
return mask;
}