Skip to content

Commit

Permalink
fix toupcam OEM bus id (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgilsrud committed Sep 9, 2021
1 parent 2361804 commit 2bcae0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indi-toupbase/oem_cameras.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,7 @@ int OEMCamEnum(XP(DeviceV2) *cam_infos, int cam_infos_count)

cam_infos[cnt].model = &cam->toupcam->model;
strcpy(cam_infos[cnt].displayname, cam->name);
sprintf(cam_infos[cnt].id, "tp-%d-%d-%d-%d", libusb_get_port_number(dev),
sprintf(cam_infos[cnt].id, "tp-%d-%d-%d-%d", libusb_get_bus_number(dev),
libusb_get_device_address(dev), desc.idVendor, cam->toupcam->pid);
cnt++;
}
Expand Down

0 comments on commit 2bcae0e

Please sign in to comment.