Slight improvements to the reliability of the software UART in the XPLAINBridge project.
This commit is contained in:
		
							parent
							
								
									931ca42a6e
								
							
						
					
					
						commit
						036a156ff4
					
				
					 3 changed files with 24 additions and 25 deletions
				
			
		| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue