diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2009-06-05 03:32:39 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2009-06-05 03:32:39 +0000 |
commit | 21d2f684dd96bd63ca62a3ded53007a78e391a73 (patch) | |
tree | 800f558890438420168bf0c6f933572090880287 /driver_tsip.c | |
parent | 98966a4e9fae3dba14f082d0a3031e4153036e46 (diff) | |
download | gpsd-21d2f684dd96bd63ca62a3ded53007a78e391a73.tar.gz |
Fix number of data bits. From Matt Roberds
Diffstat (limited to 'driver_tsip.c')
-rw-r--r-- | driver_tsip.c | 2 |
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) */ |