From 9d7278682e674816d467aaf9020c478e333b1168 Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 11 Jul 2013 09:07:02 +0900 Subject: [PATCH] Add Caps Lock LED on PD6 --- keyboard/hhkb/led.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/keyboard/hhkb/led.c b/keyboard/hhkb/led.c index 669b6107..8a08fe27 100644 --- a/keyboard/hhkb/led.c +++ b/keyboard/hhkb/led.c @@ -15,6 +15,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#include #include "stdint.h" #include "led.h" @@ -22,5 +23,11 @@ along with this program. If not, see . /* HHKB has no LEDs */ void led_set(uint8_t usb_led) { + if (usb_led & (1<