Adds class implementation for use STM32F4xx OTG_HS in FS mode

Dependents:   IGLOO_board

Fork of USBDevice by mbed official

Revision:
77:83b79e0aa05a
Parent:
70:2c525a50f1b6
--- a/USBHID/USBHID.cpp	Mon Jul 30 12:30:04 2018 +0000
+++ b/USBHID/USBHID.cpp	Mon Jul 30 13:56:22 2018 +0000
@@ -112,7 +112,7 @@
                         break;
                     case HID_DESCRIPTOR:
                             // Find the HID descriptor, after the configuration descriptor
-                            hidDescriptor = findDescriptor(HID_DESCRIPTOR);
+                            hidDescriptor = findDescriptor(HID_DESCRIPTOR, 0);
                             if (hidDescriptor != NULL)
                             {
                                 transfer->remaining = HID_DESCRIPTOR_LENGTH;
@@ -227,7 +227,7 @@
                                + (1 * HID_DESCRIPTOR_LENGTH) \
                                + (2 * ENDPOINT_DESCRIPTOR_LENGTH))
 
-uint8_t * USBHID::configurationDesc() {
+uint8_t * USBHID::configurationDesc(uint_fast8_t cfgidx) {
     static uint8_t configurationDescriptor[] = {
         CONFIGURATION_DESCRIPTOR_LENGTH,    // bLength
         CONFIGURATION_DESCRIPTOR,           // bDescriptorType