diff options
Diffstat (limited to 'testhal/STM32F30x/USB_CDC')
-rw-r--r-- | testhal/STM32F30x/USB_CDC/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/STM32F30x/USB_CDC/main.c b/testhal/STM32F30x/USB_CDC/main.c index 8c3f99a54..6555da8d3 100644 --- a/testhal/STM32F30x/USB_CDC/main.c +++ b/testhal/STM32F30x/USB_CDC/main.c @@ -301,7 +301,7 @@ static void usb_event(USBDriver *usbp, usbevent_t event) { usbInitEndpointI(usbp, USBD1_INTERRUPT_REQUEST_EP, &ep2config);
/* Resetting the state of the CDC subsystem.*/
- sduConfigureHookI(usbp);
+ sduConfigureHookI(&SDU1);
chSysUnlockFromIsr();
return;
|