Slight improvements to the reliability of the software UART in the XPLAINBridge project.

This commit is contained in:
Dean Camera 2010-06-12 08:39:12 +00:00
parent 931ca42a6e
commit 036a156ff4
3 changed files with 24 additions and 25 deletions

View file

@ -154,7 +154,7 @@ uint8_t CDC_Device_SendByte(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo,
Endpoint_SelectEndpoint(CDCInterfaceInfo->Config.DataINEndpointNumber);
if (!(Endpoint_IsReadWriteAllowed()))
{
{
Endpoint_ClearIN();
uint8_t ErrorCode;