diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-08-01 22:58:37 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-08-01 22:58:37 +0000 |
commit | 9ec3074fc1e3e0699581b87c2ed0683ed680fd59 (patch) | |
tree | a195da6992b6078045c256ae56e065b8688bff9f /drivers.c | |
parent | d6c274ece19a733d4f4cfa52c6e04585bbd0088f (diff) | |
download | gpsd-9ec3074fc1e3e0699581b87c2ed0683ed680fd59.tar.gz |
Merge Petr Slanky's gpsd_write() patch.
Diffstat (limited to 'drivers.c')
-rw-r--r-- | drivers.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -100,8 +100,7 @@ static void nmea_initializer(struct gps_device_t *session) #endif /* ITRAX_ENABLE */ #ifdef EVERMORE_ENABLE /* probe for EverMore by trying to read the LogConfig */ - (void)write(session->gpsdata.gps_fd, "\x10\x02\x06\x8d\x00\x01\x00\x8e\x10\x03", 10); - (void)tcdrain(session->gpsdata.gps_fd); + (void)gpsd_write(session, "\x10\x02\x06\x8d\x00\x01\x00\x8e\x10\x03", 10); #endif /* EVERMORE_ENABLE */ } |