summaryrefslogtreecommitdiff
path: root/driver_tsip.c
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2009-06-05 03:32:39 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2009-06-05 03:32:39 +0000
commit21d2f684dd96bd63ca62a3ded53007a78e391a73 (patch)
tree800f558890438420168bf0c6f933572090880287 /driver_tsip.c
parent98966a4e9fae3dba14f082d0a3031e4153036e46 (diff)
downloadgpsd-21d2f684dd96bd63ca62a3ded53007a78e391a73.tar.gz
Fix number of data bits. From Matt Roberds
Diffstat (limited to 'driver_tsip.c')
-rw-r--r--driver_tsip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_tsip.c b/driver_tsip.c
index 5ff57b34..0cc98389 100644
--- a/driver_tsip.c
+++ b/driver_tsip.c
@@ -820,7 +820,7 @@ static bool tsip_speed_switch(struct gps_device_t *session,
putbyte(buf,0,0xff); /* current port */
putbyte(buf,1,(round(log((double)speed/300)/M_LN2))+2); /* input baudrate */
putbyte(buf,2,getub(buf,1)); /* output baudrate */
- putbyte(buf,3,8); /* character width (8 bits) */
+ putbyte(buf,3,3); /* character width (8 bits) */
putbyte(buf,4,parity); /* parity (normally odd) */
putbyte(buf,5,stopbits-1); /* stop bits (normally 1 stopbit) */
putbyte(buf,6,0); /* flow control (none) */