Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: WinUSBDevice.cpp
- Revision:
- 1:0c3b6cc480b6
- Parent:
- 0:1a3aa2e25db9
--- a/WinUSBDevice.cpp Fri Nov 04 22:07:07 2016 +0000 +++ b/WinUSBDevice.cpp Mon Feb 13 14:56:00 2017 +0000 @@ -1,5 +1,3 @@ -#pragma once - #include "WinUSBDevice.h" #include <USBDescriptor.h> @@ -232,6 +230,7 @@ compatIdData.header.bcdVersion = 0x0100; compatIdData.header.wIndex = COMPAT_ID_INDEX; compatIdData.header.bCount = 1; + compatIdData.header.reserved1 = 0x01; compatIdData.data[0].bFirstInterfaceNumber = 0; copyString8(compatIdData.data[0].compatibleID, sizeof(compatIdData.data[0].compatibleID), "WINUSB");