fixed a bug on host_system_send().
This commit is contained in:
		
							parent
							
								
									baf885dc31
								
							
						
					
					
						commit
						7386c76191
					
				
					 5 changed files with 9 additions and 3 deletions
				
			
		
							
								
								
									
										2
									
								
								host.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								host.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -142,7 +142,7 @@ void host_mouse_send(report_mouse_t *report)
 | 
			
		|||
void host_system_send(uint16_t data)
 | 
			
		||||
{
 | 
			
		||||
    if (!driver) return;
 | 
			
		||||
    (*driver->send_consumer)(data);
 | 
			
		||||
    (*driver->send_system)(data);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void host_consumer_send(uint16_t data)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue