diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-06-12 08:39:12 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-06-12 08:39:12 +0000 |
commit | 036a156ff4518212ee1db487ce644deeca91bb71 (patch) | |
tree | 5b8016c71957329a04adecc3c292e4f7b66babb3 /LUFA/Drivers/USB | |
parent | 931ca42a6efc88b31cd09cebc7c74b907dd5913d (diff) | |
download | lufa-036a156ff4518212ee1db487ce644deeca91bb71.tar.gz lufa-036a156ff4518212ee1db487ce644deeca91bb71.tar.bz2 lufa-036a156ff4518212ee1db487ce644deeca91bb71.zip |
Slight improvements to the reliability of the software UART in the XPLAINBridge project.
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/CDC.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/CDC.c b/LUFA/Drivers/USB/Class/Device/CDC.c index 69295e5e4..6eabb240e 100644 --- a/LUFA/Drivers/USB/Class/Device/CDC.c +++ b/LUFA/Drivers/USB/Class/Device/CDC.c @@ -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; |