Skip to content

Commit

Permalink
Added stub for Windows back-end for rs_get_device_usb_port_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hansen authored and mdhorn committed May 19, 2016
1 parent a47d44c commit f18e260
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,3 @@ before_build:
build:
verbosity: minimal
project: librealsense.vc12/realsense.sln

cache:
- librealsense.vc12/packages
5 changes: 5 additions & 0 deletions src/uvc-wmf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,11 @@ namespace rsimpl

int get_vendor_id(const device & device) { return device.vid; }
int get_product_id(const device & device) { return device.pid; }
const char * get_usb_port_id(const device & device)
{ // Not implemented for Windows
std::string usb_port = "Not Implemented";
return usb_port.c_str();
}

void get_control(const device & device, const extension_unit & xu, uint8_t ctrl, void *data, int len)
{
Expand Down

0 comments on commit f18e260

Please sign in to comment.