Skip to content

Commit

Permalink
Merge pull request #3466 from IntelRealSense/usb2-fix
Browse files Browse the repository at this point in the history
Fixing USB2 detection bug
  • Loading branch information
ev-mp authored Mar 19, 2019
2 parents d0f0e5e + a5fbd7e commit 1e0ceba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win/win-helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -509,9 +509,9 @@ namespace librealsense
std::wstring targetKey(reinterpret_cast<const wchar_t*>(driver_key.data()));

// recursively check all hubs, searching for composite device
std::wstringstream buf;
for (int i = 0;; i++)
{
std::wstringstream buf;
buf << "\\\\.\\HCD" << i;
std::wstring hcd = buf.str();

Expand Down

0 comments on commit 1e0ceba

Please sign in to comment.