Fix KEYBOARD_SHARED_EP on ChibiOS (#7860)
This commit is contained in:
		
							parent
							
								
									5cb83dd5d7
								
							
						
					
					
						commit
						ff5742da9f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -381,7 +381,7 @@ static uint16_t get_hword(uint8_t *p) {
 | 
			
		|||
 * Other Device    Required    Optional    Optional    Optional    Optional    Optional
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifdef SHARED_EP_ENABLE
 | 
			
		||||
#if defined(SHARED_EP_ENABLE) && !defined(KEYBOARD_SHARED_EP)
 | 
			
		||||
static uint8_t set_report_buf[2] __attribute__((aligned(2)));
 | 
			
		||||
static void    set_led_transfer_cb(USBDriver *usbp) {
 | 
			
		||||
    if ((set_report_buf[0] == REPORT_ID_KEYBOARD) || (set_report_buf[0] == REPORT_ID_NKRO)) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue