Adds class implementation for use STM32F4xx OTG_HS in FS mode
Fork of USBDevice by
Diff: USBSerial/USBCDC.cpp
- Revision:
- 77:83b79e0aa05a
- Parent:
- 70:2c525a50f1b6
--- a/USBSerial/USBCDC.cpp Mon Jul 30 12:30:04 2018 +0000 +++ b/USBSerial/USBCDC.cpp Mon Jul 30 13:56:22 2018 +0000 @@ -185,7 +185,7 @@ #define CONFIG1_DESC_SIZE (9+8+9+5+5+4+5+7+9+7+7) -uint8_t * USBCDC::configurationDesc() { +uint8_t * USBCDC::configurationDesc(uint_fast8_t cfgidx) { static uint8_t configDescriptor[] = { // configuration descriptor 9, // bLength @@ -288,3 +288,4 @@ }; return configDescriptor; } +