From: tmk Date: Thu, 11 Jul 2013 00:07:02 +0000 (+0900) Subject: Add Caps Lock LED on PD6 X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=9d7278682e674816d467aaf9020c478e333b1168;p=max%2Ftmk_keyboard.git Add Caps Lock LED on PD6 --- 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<