summaryrefslogtreecommitdiff
path: root/gpsctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpsctl.c')
-rw-r--r--gpsctl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gpsctl.c b/gpsctl.c
index 3ac74729..8d58f6b7 100644
--- a/gpsctl.c
+++ b/gpsctl.c
@@ -25,6 +25,14 @@ static int debuglevel;
static unsigned int timeout = 8;
static struct gps_context_t context;
+ssize_t gpsd_write(struct gps_device_t *session,
+ const char *buf,
+ const size_t len)
+/* pass low-level data to devices straight through */
+{
+ return gpsd_serial_write(session, buf, len);
+}
+
/*
* Set this as high or higher than the maximum number of subtype
* probes in drivers.c.