mirror of
https://github.com/mik3y/usb-serial-for-android.git
synced 2026-08-22 22:02:55 +00:00
Cdc driver: probe all Arduinos.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user