Skip to content

Commit 48a5c66

Browse files
echolinepiedar
authored andcommitted
fix: set camera VID and PID (#589)
Signed-off-by: Benn Snyder <[email protected]>
1 parent 4807de9 commit 48a5c66

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/usb_libusb10.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,9 @@ FN_INTERNAL int fnusb_open_subdevices(freenect_device *dev, int index)
455455
ctx->zero_plane_res = 322;
456456
}
457457

458+
dev->usb_cam.VID = desc.idVendor;
459+
dev->usb_cam.PID = desc.idProduct;
460+
458461
res = fnusb_claim_camera(dev);
459462
if (res < 0) {
460463
goto failure;

0 commit comments

Comments
 (0)