diff options
Diffstat (limited to 'testhal/STM32F37x/USB_CDC/main.c')
| -rw-r--r-- | testhal/STM32F37x/USB_CDC/main.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/testhal/STM32F37x/USB_CDC/main.c b/testhal/STM32F37x/USB_CDC/main.c index 286d26c01..200a0f3d5 100644 --- a/testhal/STM32F37x/USB_CDC/main.c +++ b/testhal/STM32F37x/USB_CDC/main.c @@ -300,7 +300,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;
 | 
