Get rid of USB_LED_CAPS_LOCK (#21436)
				
					
				
			This commit is contained in:
		
							parent
							
								
									928e03e8d6
								
							
						
					
					
						commit
						87b11345a5
					
				
					 70 changed files with 214 additions and 226 deletions
				
			
		| 
						 | 
				
			
			@ -351,11 +351,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		|||
  return true;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void led_set_user(uint8_t usb_led) {
 | 
			
		||||
  if (usb_led & (1<<USB_LED_CAPS_LOCK)){
 | 
			
		||||
bool led_update_user(led_t led_state) {
 | 
			
		||||
  if (led_state.caps_lock){
 | 
			
		||||
    frenchdev_led_3_on();
 | 
			
		||||
  } else {
 | 
			
		||||
    frenchdev_led_3_off();
 | 
			
		||||
  }
 | 
			
		||||
  return ;
 | 
			
		||||
  return false;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue