Ignore Mass Storage subclass, and try to talk with transparent SCSI

anyway. This may or may not be helpful!
USG_1.0
Robert Fisk 9 years ago
parent 05f71ca098
commit a152cb6037

@ -156,7 +156,7 @@ static USBH_StatusTypeDef USBH_MSC_InterfaceInit (USBH_HandleTypeDef *phost)
USBH_StatusTypeDef status = USBH_FAIL ; USBH_StatusTypeDef status = USBH_FAIL ;
MSC_HandleTypeDef *MSC_Handle; MSC_HandleTypeDef *MSC_Handle;
interface = USBH_FindInterface(phost, phost->pActiveClass->ClassCode, MSC_TRANSPARENT, MSC_BOT); interface = USBH_FindInterface(phost, phost->pActiveClass->ClassCode, 0xFF, MSC_BOT);//MSC_TRANSPARENT, MSC_BOT); //Ignore subclass?!!
if(interface == 0xFF) /* Not Valid Interface */ if(interface == 0xFF) /* Not Valid Interface */
{ {

Loading…
Cancel
Save