Skip to content

Commit

Permalink
fix: set camera VID and PID (#589)
Browse files Browse the repository at this point in the history
Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
  • Loading branch information
echoline authored Feb 16, 2020
1 parent 4807de9 commit 50241e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/usb_libusb10.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,9 @@ FN_INTERNAL int fnusb_open_subdevices(freenect_device *dev, int index)
ctx->zero_plane_res = 322;
}

dev->usb_cam.VID = desc.idVendor;
dev->usb_cam.PID = desc.idProduct;

res = fnusb_claim_camera(dev);
if (res < 0) {
goto failure;
Expand Down

0 comments on commit 50241e9

Please sign in to comment.