Fixed MIDI_Device_SendEventPacket() not correctly waiting for the endpoint to become ready (thanks to Robin Green).
This commit is contained in:
		
							parent
							
								
									6b5e684c77
								
							
						
					
					
						commit
						f9bcac5e00
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -69,7 +69,7 @@ uint8_t MIDI_Device_SendEventPacket(USB_ClassInfo_MIDI_Device_t* const MIDIInter
 | 
			
		|||
	
 | 
			
		||||
	Endpoint_SelectEndpoint(MIDIInterfaceInfo->Config.DataINEndpointNumber);
 | 
			
		||||
 | 
			
		||||
	if (Endpoint_IsReadWriteAllowed());
 | 
			
		||||
	if (Endpoint_IsReadWriteAllowed())
 | 
			
		||||
	{
 | 
			
		||||
		uint8_t ErrorCode;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -52,6 +52,7 @@
 | 
			
		|||
  *    PDI and TPI programming modes infinitely
 | 
			
		||||
  *  - Fixed HID device class driver still using PrevReportINBuffer for GetReport control requests even when it has been
 | 
			
		||||
  *    set to NULL by the user application (thanks to Axel Rohde)
 | 
			
		||||
  *  - Fixed MIDI_Device_SendEventPacket() not correctly waiting for the endpoint to become ready (thanks to Robin Green)
 | 
			
		||||
  *
 | 
			
		||||
  *  \section Sec_ChangeLog100513 Version 100513
 | 
			
		||||
  *  <b>New:</b>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue