libftdi Archives

Subject: set_baudrate bug?

From: Akos Vandra <axos88@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 17 Nov 2011 18:01:55 +0100
Hi!

When I'm trying to set the baudrate to 2MBaud, it fails, says it is
unsupported. However the closes match returns 2 000 000 exactly, so I
tried setting the baud to 2 000 001, now it works. I suspect a <= vs <
 or > vs >= typo somewhere int the code maybe?

Regards,
  Ákos

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread