kopia lustrzana https://github.com/mik3y/usb-serial-for-android
Cdc driver: probe all Arduinos.
rodzic
f2ff56ba51
commit
fbf2607124
|
@ -157,7 +157,7 @@ public class CdcAcmSerialDriver implements UsbSerialDriver {
|
|||
}
|
||||
|
||||
public static boolean probe(UsbDevice usbDevice) {
|
||||
return usbDevice.getVendorId() == 0x2341 && usbDevice.getProductId() == 0x001;
|
||||
return usbDevice.getVendorId() == 0x2341;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue