mirror of
https://github.com/mik3y/usb-serial-for-android
synced 2025-06-11 01:46:15 +00:00
Cdc driver: probe all Arduinos.
This commit is contained in:
parent
f2ff56ba51
commit
fbf2607124
@ -157,7 +157,7 @@ public class CdcAcmSerialDriver implements UsbSerialDriver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static boolean probe(UsbDevice usbDevice) {
|
public static boolean probe(UsbDevice usbDevice) {
|
||||||
return usbDevice.getVendorId() == 0x2341 && usbDevice.getProductId() == 0x001;
|
return usbDevice.getVendorId() == 0x2341;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user