mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 05:12:33 +01:00 
			
		
		
		
	Fix missing report IDs in feature reports
As it is the case for input reports, the ID has to be sent for feature reports when a device has multiple reports implemented. Signed-off-by: Bert van Hall <bert.vanhall@avionic-design.de>
This commit is contained in:
		
							parent
							
								
									b8f7dae24c
								
							
						
					
					
						commit
						ffb5f7e3b3
					
				| @ -68,6 +68,10 @@ void HID_Device_ProcessControlRequest(USB_ClassInfo_HID_Device_t* const HIDInter | ||||
| 				Endpoint_SelectEndpoint(ENDPOINT_CONTROLEP); | ||||
| 
 | ||||
| 				Endpoint_ClearSETUP(); | ||||
| 
 | ||||
| 				if (ReportID) | ||||
| 				  Endpoint_Write_8(ReportID); | ||||
| 
 | ||||
| 				Endpoint_Write_Control_Stream_LE(ReportData, ReportSize); | ||||
| 				Endpoint_ClearOUT(); | ||||
| 			} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Bert van Hall
						Bert van Hall