From 1b81c4dd2bfd85eb4d17ee4484c98c1ec411b6ba Mon Sep 17 00:00:00 2001 From: Barry Huang Date: Fri, 25 May 2018 06:28:54 +0800 Subject: pk60.c fix for capslock indicator (#3032) * Capslock indicator add * edit * name correction * led_set_user(usb_led); delete * config edit for caps indicator * keymap.c fix * led.h include * pk60.c fix for capslock indicator --- keyboards/pk60/pk60.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'keyboards') diff --git a/keyboards/pk60/pk60.c b/keyboards/pk60/pk60.c index f1d9dd641..a9da0ff22 100644 --- a/keyboards/pk60/pk60.c +++ b/keyboards/pk60/pk60.c @@ -15,7 +15,7 @@ void matrix_scan_kb(void) { }; void led_init_ports(void) { - + // Set capslock LED pin as pinout DDRF |= (1 << 4); PORTF |= (1 << 4); @@ -24,9 +24,11 @@ void led_init_ports(void) { void led_set_kb(uint8_t usb_led) { if (usb_led & (1<