1
0
mirror of https://github.com/mik3y/usb-serial-for-android.git synced 2026-08-15 10:22:56 +00:00

restored UsbId.FTDI_FT231X

same ID for FT230X, FT231X, FT234XD
tested with FT230X
This commit is contained in:
kai-morich
2020-08-23 20:13:24 +02:00
parent f36756dc86
commit 698f590d58
4 changed files with 35 additions and 18 deletions
@@ -383,6 +383,7 @@ public class FtdiSerialDriver implements UsbSerialDriver {
UsbId.FTDI_FT232H,
UsbId.FTDI_FT2232H,
UsbId.FTDI_FT4232H,
UsbId.FTDI_FT231X, // same ID for FT230X, FT231X, FT234XD
});
return supportedDevices;
}
@@ -21,6 +21,7 @@ public final class UsbId {
public static final int FTDI_FT2232H = 0x6010;
public static final int FTDI_FT4232H = 0x6011;
public static final int FTDI_FT232H = 0x6014;
public static final int FTDI_FT231X = 0x6015; // same ID for FT230X, FT231X, FT234XD
public static final int VENDOR_ATMEL = 0x03EB;
public static final int ATMEL_LUFA_CDC_DEMO_APP = 0x2044;