Capslock indicator add (#3007)
* Capslock indicator add * edit * name correction * led_set_user(usb_led); delete
This commit is contained in:
		
				
					committed by
					
						
						Drashna Jaelre
					
				
			
			
				
	
			
			
			
						parent
						
							068b80383f
						
					
				
				
					commit
					f698bbcd65
				
			@@ -1 +1,12 @@
 | 
			
		||||
#include "pk60.h"
 | 
			
		||||
 | 
			
		||||
void led_set_kb(uint8_t usb_led) {
 | 
			
		||||
    
 | 
			
		||||
    if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
 | 
			
		||||
        PORTF |= (1<<4);
 | 
			
		||||
    } else {
 | 
			
		||||
        PORTF &= ~(1<<4);
 | 
			
		||||
    }
 | 
			
		||||
    led_set_user(usb_led);
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user