Set initial baudrate on correct interface instead of always the first one (Thimo...
authorThimo Eichstaedt <abc@digithi.de>
Tue, 3 Nov 2009 16:39:21 +0000 (17:39 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 3 Nov 2009 16:39:21 +0000 (17:39 +0100)
commitef6f483889aa3d719a676f7f32303c4232941e57
tree784932bafe321bb794ec2da8ef9bf6bdce550ea6
parent8af5bbc7a631bd63e9f3c3d0f702c1cfe6a27196
Set initial baudrate on correct interface instead of always the first one (Thimo Eichstaedt)

From libftdi mailinglist mail:
1) in ftdi_usb_open_dev() the baudrate is set to 9600, but that is done
too early (before the interface is set). So the baudrate of the first
interface is always modified, even if you opened a different one.
src/ftdi.c