Fix issue in CDC device class driver where received data the size of the data endpoint could lock up the driver.
Further work on the new CDC and HID host mode class drivers. Reset changelog et. al. to reset development information for the new version currently under development.
This commit is contained in:
parent
a459f10b0c
commit
8711dc7ced
14 changed files with 168 additions and 11 deletions
|
@ -86,6 +86,7 @@ uint8_t HID_Host_ConfigurePipes(USB_ClassInfo_HID_Host_t* HIDInterfaceInfo, uint
|
|||
}
|
||||
}
|
||||
|
||||
HIDInterfaceInfo->State.Active = true;
|
||||
return HID_ENUMERROR_NoError;
|
||||
}
|
||||
|
||||
|
@ -126,4 +127,11 @@ void HID_Host_USBTask(USB_ClassInfo_HID_Host_t* HIDInterfaceInfo)
|
|||
|
||||
}
|
||||
|
||||
void HID_Host_IsReportReceived(USB_ClassInfo_HID_Host_t* HIDInterfaceInfo)
|
||||
{
|
||||
Pipe_SelectPipe(HIDInterfaceInfo->Config.DataINPipeNumber);
|
||||
|
||||
return Pipe_IsReadWriteAllowed();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue