1
0
mirror of https://github.com/mik3y/usb-serial-for-android.git synced 2026-08-11 16:32:53 +00:00

restore FT2232C support

This commit is contained in:
kai-morich
2021-07-01 07:45:24 +02:00
parent c73c38ca82
commit 7ffbc73919
3 changed files with 4 additions and 3 deletions
@@ -128,7 +128,8 @@ public class FtdiSerialDriver implements UsbSerialDriver {
throw new IOException("Could not get device descriptors");
}
int deviceType = rawDescriptors[13];
baudRateWithPort = deviceType == 7 || deviceType == 8 || deviceType == 9; // ...H devices
baudRateWithPort = deviceType == 7 || deviceType == 8 || deviceType == 9 // ...H devices
|| mDevice.getInterfaceCount() > 1; // FT2232C
}
@Override