aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32')
-rw-r--r--testhal/STM32/USB_CDC/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testhal/STM32/USB_CDC/main.c b/testhal/STM32/USB_CDC/main.c
index e18275808..6f4416364 100644
--- a/testhal/STM32/USB_CDC/main.c
+++ b/testhal/STM32/USB_CDC/main.c
@@ -224,6 +224,7 @@ static const USBDescriptor *get_descriptor(USBDriver *usbp,
*/
static const USBEndpointConfig ep1config = {
USB_EP_MODE_TYPE_BULK | USB_EP_MODE_PACKET,
+ NULL,
sduDataTransmitted,
NULL,
0x0040,
@@ -237,6 +238,7 @@ static const USBEndpointConfig ep1config = {
*/
static const USBEndpointConfig ep2config = {
USB_EP_MODE_TYPE_INTR | USB_EP_MODE_PACKET,
+ NULL,
sduInterruptTransmitted,
NULL,
0x0010,
@@ -251,6 +253,7 @@ static const USBEndpointConfig ep2config = {
static const USBEndpointConfig ep3config = {
USB_EP_MODE_TYPE_BULK | USB_EP_MODE_PACKET,
NULL,
+ NULL,
sduDataReceived,
0x0000,
0x0040,