diff options
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -162,6 +162,14 @@ static void onsig(int sig) signalled = (sig_atomic_t) sig; } +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, ...) { |