mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-30 21:02:32 +01:00 
			
		
		
		
	Fixed MIDI device class driver MIDI_Device_ReceiveEventPacket() for the XMEGA architecture.
This commit is contained in:
		
							parent
							
								
									16c4f1d43c
								
							
						
					
					
						commit
						6eba84bf4b
					
				| @ -10,16 +10,21 @@ | |||||||
|   *  <b>New:</b> |   *  <b>New:</b> | ||||||
|   *  - Library Applications: |   *  - Library Applications: | ||||||
|   *   - Added new Bulk Vendor low level device demo |   *   - Added new Bulk Vendor low level device demo | ||||||
|  |   *   - Added new libUSB host Python and NodeJS application examples for the class driver GenericHID demo (thanks to Laszlo Monda) | ||||||
|   * |   * | ||||||
|   *  <b>Changed:</b> |   *  <b>Changed:</b> | ||||||
|   *  - Library Applications: |   *  - Library Applications: | ||||||
|   *   - Refactored out USB interface IDs in the demo applications into enums (thanks to Laszlo Monda) |   *   - Refactored out USB interface IDs in the demo applications into enums (thanks to Laszlo Monda) | ||||||
|   *   - AVRISP-MKII Clone Project PDI/TPI frequency increased from 250KHz to 2MHz as it is now stable |   *   - AVRISP-MKII Clone Project PDI/TPI frequency increased from 250KHz to 2MHz as it is now stable | ||||||
|   *   - Fixed incorrect signature bytes returned in the DFU bootloader |  | ||||||
|   *   - Added new libUSB host Python and NodeJS application examples for the class driver GenericHID demo (thanks to Laszlo Monda) |  | ||||||
|   *   - Increased TPI/PDI handshake delay to 1ms from 1us to support targets with high amounts of capacitance on their |   *   - Increased TPI/PDI handshake delay to 1ms from 1us to support targets with high amounts of capacitance on their | ||||||
|   *     /RESET lines (thanks to Paul Duke) |   *     /RESET lines (thanks to Paul Duke) | ||||||
|   * |   * | ||||||
|  |   *  <b>Fixed:</b> | ||||||
|  |   *  - Core: | ||||||
|  |   *   - Fixed MIDI device class driver MIDI_Device_ReceiveEventPacket() for the XMEGA architecture | ||||||
|  |   *  - Library Applications: | ||||||
|  |   *   - Fixed incorrect signature bytes returned in the DFU bootloader | ||||||
|  |   * | ||||||
|   *  \section Sec_ChangeLog130901 Version 130901 |   *  \section Sec_ChangeLog130901 Version 130901 | ||||||
|   *  <b>New:</b> |   *  <b>New:</b> | ||||||
|   *  - Core: |   *  - Core: | ||||||
|  | |||||||
| @ -113,6 +113,9 @@ bool MIDI_Device_ReceiveEventPacket(USB_ClassInfo_MIDI_Device_t* const MIDIInter | |||||||
| 
 | 
 | ||||||
| 	Endpoint_SelectEndpoint(MIDIInterfaceInfo->Config.DataOUTEndpoint.Address); | 	Endpoint_SelectEndpoint(MIDIInterfaceInfo->Config.DataOUTEndpoint.Address); | ||||||
| 
 | 
 | ||||||
|  | 	if (!(Endpoint_IsOUTReceived())) | ||||||
|  | 		return false; | ||||||
|  | 
 | ||||||
| 	if (!(Endpoint_IsReadWriteAllowed())) | 	if (!(Endpoint_IsReadWriteAllowed())) | ||||||
| 	  return false; | 	  return false; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dean Camera
						Dean Camera