From 15b9bce6bab13d85529fe9aaa91b3df9cd773e13 Mon Sep 17 00:00:00 2001 From: Wilba6582 Date: Tue, 17 Mar 2015 00:43:37 +1100 Subject: Initial commit for Planck PCB Rev 1. - Backlight on PB7 controlled by Timer1 Fast PWM (no interrupts). - Backlight commands connected temporarily to top left keys. - Backlight init called from matrix.c, since there's no generic keyboard_init() override function. --- keyboard/planck/led.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'keyboard/planck/led.c') diff --git a/keyboard/planck/led.c b/keyboard/planck/led.c index 6cffd5ea7b..448df2ccfb 100644 --- a/keyboard/planck/led.c +++ b/keyboard/planck/led.c @@ -22,13 +22,17 @@ along with this program. If not, see . void led_set(uint8_t usb_led) { - // if (usb_led & (1< Date: Tue, 17 Mar 2015 00:56:41 +1100 Subject: Replaced tabs with spaces to match TMK convention. --- keyboard/planck/led.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboard/planck/led.c') diff --git a/keyboard/planck/led.c b/keyboard/planck/led.c index 448df2ccfb..1f36434883 100644 --- a/keyboard/planck/led.c +++ b/keyboard/planck/led.c @@ -22,8 +22,8 @@ along with this program. If not, see . void led_set(uint8_t usb_led) { - // Using PE6 Caps Lock LED - if (usb_led & (1< Date: Fri, 15 May 2015 21:57:29 -0400 Subject: quark --- keyboard/planck/led.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'keyboard/planck/led.c') diff --git a/keyboard/planck/led.c b/keyboard/planck/led.c index 1f36434883..2c05746607 100644 --- a/keyboard/planck/led.c +++ b/keyboard/planck/led.c @@ -22,17 +22,17 @@ along with this program. If not, see . void led_set(uint8_t usb_led) { - // Using PE6 Caps Lock LED - if (usb_led & (1<