From: Uwe Bonnes Date: Wed, 20 Jul 2011 09:12:37 +0000 (+0200) Subject: Baud rate generation is the same as with FT2232H/FT232H X-Git-Tag: v1.0rc1~97 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=bb104e5b1066701452e56fb0fbacd1851f2ab22a Baud rate generation is the same as with FT2232H/FT232H --- 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;