summaryrefslogtreecommitdiff
path: root/driver_rtcm3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-27 07:05:21 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-27 07:05:21 -0400
commitea1b6fe180e701300eb1a9e05237726acd8651df (patch)
tree00dbf15276cb02501c73481d4f887ed59357c826 /driver_rtcm3.c
parent643b49ada1691215bc974be55dc01657e648c9ca (diff)
downloadgpsd-ea1b6fe180e701300eb1a9e05237726acd8651df.tar.gz
A steo topwrds eliminating the reverse linkage of gpd_report().
All regression tests pass.
Diffstat (limited to 'driver_rtcm3.c')
-rw-r--r--driver_rtcm3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_rtcm3.c b/driver_rtcm3.c
index f5e6f832..5b9c9009 100644
--- a/driver_rtcm3.c
+++ b/driver_rtcm3.c
@@ -65,7 +65,7 @@ BSD terms apply: see the file COPYING in the distribution root for details.
/* *INDENT-OFF* */
/*@ -type @*//* re-enable when we're ready to take this live */
-void rtcm3_unpack(const int debug,
+void rtcm3_unpack(const struct gps_context_t *context,
/*@out@*/ struct rtcm3_t *rtcm, char *buf)
/* break out the raw bits into the scaled report-structure fields */
{
@@ -97,7 +97,7 @@ void rtcm3_unpack(const int debug,
rtcm->length = (uint)ugrab(10);
rtcm->type = (uint)ugrab(12);
- gpsd_report(debug, LOG_RAW, "RTCM3: type %d payload length %d\n",
+ gpsd_report(context->debug, LOG_RAW, "RTCM3: type %d payload length %d\n",
rtcm->type, rtcm->length);
switch (rtcm->type) {