Skip to content

Commit 9c0fd2b

Browse files
committed
Added OPPO vendor
1 parent 7709a27 commit 9c0fd2b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

jni/hu_usb.c

+2
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,8 @@ struct usbvpid iusb_vendor_get (libusb_device * device) {
467467
return (5);
468468
if (vendor == USB_VID_LEN)
469469
return (5);
470+
if (vendor == USB_VID_OPO)
471+
return (5);
470472

471473
return (0);
472474
}

jni/hu_uti.h

+1
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ strlcpy(char *dst, /* O - Destination string */
229229
#define USB_VID_COM 0x1519 // Comneon
230230

231231
#define USB_VID_ASE 0x0835 // Action Star Enterprise
232+
#define USB_VID_OPO 0x22d9 // Oppo
232233

233234
//#define USB_PID_OM8 0x0f87
234235
//#define USB_PID_MOG 0x2e76

0 commit comments

Comments
 (0)