The branch, master has been updated
via bb104e5b1066701452e56fb0fbacd1851f2ab22a (commit)
from 7bdae7cd946ab11ca3d6acc62783e8cdd0d09a96 (commit)
- Log -----------------------------------------------------------------
commit bb104e5b1066701452e56fb0fbacd1851f2ab22a
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Jul 20 11:12:37 2011 +0200
Baud rate generation is the same as with FT2232H/FT232H
-----------------------------------------------------------------------
Summary of changes:
src/ftdi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/ftdi.c b/src/ftdi.c
index 2a97942..9f892d3 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -1075,7 +1075,7 @@ static int ftdi_convert_baudrate(int baudrate, struct
ftdi_context *ftdi,
}
// Split into "value" and "index" values
*value = (unsigned short)(encoded_divisor & 0xFFFF);
- if (ftdi->type == TYPE_2232C || ftdi->type == TYPE_2232H || ftdi->type ==
TYPE_4232H)
+ if (ftdi->type == TYPE_2232C || ftdi->type == TYPE_2232H || ftdi->type ==
TYPE_4232H || ftdi->type == TYPE_232H )
{
*index = (unsigned short)(encoded_divisor >> 8);
*index &= 0xFF00;
hooks/post-receive
--
port libftdi to libusb-1.0
--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|