forked from mirrors/qmk_userspace
		
	Fix Typo in Custom Quantum functions document (led_state) (#4129)
*_LOCK ↓ DEL
This commit is contained in:
		
					parent
					
						
							
								e5c315f961
							
						
					
				
			
			
				commit
				
					
						d81d216d72
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -117,12 +117,12 @@ void led_set_user(uint8_t usb_led) {
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
        PORTB &= ~(1<<2);
 | 
					        PORTB &= ~(1<<2);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    if (usb_led & (1<<USB_LED_COMPOSE_LOCK)) {
 | 
					    if (usb_led & (1<<USB_LED_COMPOSE)) {
 | 
				
			||||||
        PORTB |= (1<<3);
 | 
					        PORTB |= (1<<3);
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
        PORTB &= ~(1<<3);
 | 
					        PORTB &= ~(1<<3);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    if (usb_led & (1<<USB_LED_KANA_LOCK)) {
 | 
					    if (usb_led & (1<<USB_LED_KANA)) {
 | 
				
			||||||
        PORTB |= (1<<4);
 | 
					        PORTB |= (1<<4);
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
        PORTB &= ~(1<<4);
 | 
					        PORTB &= ~(1<<4);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue