diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2008-07-13 07:41:22 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2008-07-13 07:41:22 +0000 |
commit | 78c28e4fdf6e738aa2ec72539c12edad39dc46ce (patch) | |
tree | 2fbf1b52759ad64694c3bf6d9710b1c206476f46 /tsip.c | |
parent | aa7d93fa3abcaa3e895ed486744d7259266dda1a (diff) | |
download | gpsd-78c28e4fdf6e738aa2ec72539c12edad39dc46ce.tar.gz |
emphasize the existence of non-8O1 hardware
Diffstat (limited to 'tsip.c')
-rw-r--r-- | tsip.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |