summaryrefslogtreecommitdiff
path: root/driver_superstar2.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_superstar2.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_superstar2.c')
-rw-r--r--driver_superstar2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_superstar2.c b/driver_superstar2.c
index 37c3d4aa..34b54ff6 100644
--- a/driver_superstar2.c
+++ b/driver_superstar2.c
@@ -142,7 +142,7 @@ superstar2_msg_navsol_lla(struct gps_device_t *session,
mask |= MODE_SET | STATUS_SET;
gpsd_report(LOG_DATA,
- "NAVSOL_LLA: time=%.2f lat=%.2f lon=%.2f alt=%.2f track=%.2f speed=%.2f climb=%.2f mode=%d status=%d hdop=%.2f hdop=%.2f used=%d mask=%s\n",
+ "NAVSOL_LLA: time=%.2f lat=%.2f lon=%.2f alt=%.2f track=%.2f speed=%.2f climb=%.2f mode=%d status=%d hdop=%.2f hdop=%.2f used=%d\n",
session->newdata.time,
session->newdata.latitude,
session->newdata.longitude,
@@ -154,7 +154,7 @@ superstar2_msg_navsol_lla(struct gps_device_t *session,
session->gpsdata.status,
session->gpsdata.dop.hdop,
session->gpsdata.dop.vdop,
- session->gpsdata.satellites_used, gps_maskdump(mask));
+ session->gpsdata.satellites_used);
return mask;
}