diff options
Diffstat (limited to 'gpsdecode.c')
-rw-r--r-- | gpsdecode.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gpsdecode.c b/gpsdecode.c index 27137cb9..61db9f74 100644 --- a/gpsdecode.c +++ b/gpsdecode.c @@ -27,6 +27,14 @@ static unsigned int typelist[32]; * **************************************************************************/ +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); +} + void gpsd_report(const int debuglevel, const int errlevel, const char *fmt, ...) { |