mirror of
https://github.com/mik3y/usb-serial-for-android
synced 2025-06-09 17:06:21 +00:00
Merge pull request #63 from venkateshshukla/patch-1
Corrected USB Control Request Type definitions
This commit is contained in:
commit
d9db4e3607
@ -90,9 +90,9 @@ import java.util.Map;
|
||||
public class FtdiSerialDriver extends CommonUsbSerialDriver {
|
||||
|
||||
public static final int USB_TYPE_STANDARD = 0x00 << 5;
|
||||
public static final int USB_TYPE_CLASS = 0x00 << 5;
|
||||
public static final int USB_TYPE_VENDOR = 0x00 << 5;
|
||||
public static final int USB_TYPE_RESERVED = 0x00 << 5;
|
||||
public static final int USB_TYPE_CLASS = 0x01 << 5;
|
||||
public static final int USB_TYPE_VENDOR = 0x02 << 5;
|
||||
public static final int USB_TYPE_RESERVED = 0x03 << 5;
|
||||
|
||||
public static final int USB_RECIP_DEVICE = 0x00;
|
||||
public static final int USB_RECIP_INTERFACE = 0x01;
|
||||
|
Loading…
x
Reference in New Issue
Block a user