summaryrefslogtreecommitdiff
path: root/tsip.c
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2008-07-13 07:41:22 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2008-07-13 07:41:22 +0000
commit78c28e4fdf6e738aa2ec72539c12edad39dc46ce (patch)
tree2fbf1b52759ad64694c3bf6d9710b1c206476f46 /tsip.c
parentaa7d93fa3abcaa3e895ed486744d7259266dda1a (diff)
downloadgpsd-78c28e4fdf6e738aa2ec72539c12edad39dc46ce.tar.gz
emphasize the existence of non-8O1 hardware
Diffstat (limited to 'tsip.c')
-rw-r--r--tsip.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tsip.c b/tsip.c
index d6459058..987c330c 100644
--- a/tsip.c
+++ b/tsip.c
@@ -60,7 +60,9 @@ static void tsip_probe_subtype(struct gps_device_t *session, unsigned int seq)
switch (seq) {
case 0:
/* TSIP is ODD parity 1 stopbit, save original values and change it */
- /* XXX this is not always a good idea; not all receivers are 8O1... */
+ /* XXX Thunderbolts and Copernicus use 8N1... which isn't exactly a */
+ /* XXX good idea due to the fragile wire format. We must divine a */
+ /* XXX clever heuristic to decide if the parity change is required. */
session->driver.tsip.parity = session->gpsdata.parity;
session->driver.tsip.stopbits = session->gpsdata.stopbits;
gpsd_set_speed(session, session->gpsdata.baudrate, 'O', 1);