summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-31 15:35:19 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-31 15:35:19 +0000
commit2ec33fe14d7592269cb739dd6b55b5630a872e3e (patch)
tree9ea388c930b04b832ce44d5259bb56919fe5b58e /drivers.c
parentbddc52c2d5c8233801d0c68bf45b0e79ba84b4b1 (diff)
downloadgpsd-2ec33fe14d7592269cb739dd6b55b5630a872e3e.tar.gz
More attempts to get the EverMore to work.
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers.c b/drivers.c
index 31d9292c..2589c942 100644
--- a/drivers.c
+++ b/drivers.c
@@ -100,8 +100,8 @@ 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\x04\x81\x13\x94\x10\x03", 8);
+ (void)write(session->gpsdata.gps_fd, "\x10\x02\x06\x8d\x00\x01\x00\x8e\x10\x03", 10);
+ (void)tcdrain(session->gpsdata.gps_fd);
#endif /* EVERMORE_ENABLE */
}