Correctly ignore bogus suspend messages on device reconnect

USG_1.0
Robert Fisk 5 years ago
parent 3d5127784d
commit 9f8e90fcc2

@ -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