Adds class implementation for use STM32F4xx OTG_HS in FS mode
Fork of USBDevice by
Diff: USBHID/USBKeyboard.cpp
- Revision:
- 77:83b79e0aa05a
- Parent:
- 70:2c525a50f1b6
--- a/USBHID/USBKeyboard.cpp Mon Jul 30 12:30:04 2018 +0000 +++ b/USBHID/USBKeyboard.cpp Mon Jul 30 13:56:22 2018 +0000 @@ -501,7 +501,7 @@ + (1 * HID_DESCRIPTOR_LENGTH) \ + (2 * ENDPOINT_DESCRIPTOR_LENGTH)) -uint8_t * USBKeyboard::configurationDesc() { +uint8_t * USBKeyboard::configurationDesc(uint_fast8_t cfgidx) { static uint8_t configurationDescriptor[] = { CONFIGURATION_DESCRIPTOR_LENGTH, // bLength CONFIGURATION_DESCRIPTOR, // bDescriptorType @@ -551,3 +551,4 @@ }; return configurationDescriptor; } +