Fix set LED for NKRO keyboard interface
This commit is contained in:
		
							parent
							
								
									b03717a10c
								
							
						
					
					
						commit
						abe5edcaa7
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -272,6 +272,7 @@ void EVENT_USB_Device_ControlRequest(void)
 | 
			
		|||
                // Interface
 | 
			
		||||
                switch (USB_ControlRequest.wIndex) {
 | 
			
		||||
                case KEYBOARD_INTERFACE:
 | 
			
		||||
                case NKRO_INTERFACE:
 | 
			
		||||
                    Endpoint_ClearSETUP();
 | 
			
		||||
 | 
			
		||||
                    while (!(Endpoint_IsOUTReceived())) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue