Browse Source

Correctly ignore bogus suspend messages on device reconnect

USG_1.0
Robert Fisk 2 years ago
parent
commit
9f8e90fcc2
  1. 1
      Upstream/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c

1
Upstream/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c

@ -190,6 +190,7 @@ USBD_StatusTypeDef USBD_Start (USBD_HandleTypeDef *pdev)
USBD_LL_Start(pdev);
pdev->usbCoreStatus = USB_STATUS_START;
pdev->dev_state = USBD_STATE_DEFAULT;
return USBD_OK;
}

Loading…
Cancel
Save