From d9a1b9086f23477ffdcce3c1ff49ec1ce7c8791f Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Thu, 11 Dec 2014 17:36:42 -0500 Subject: led --- common/action.c | 2 +- common/led.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/action.c b/common/action.c index ec8eeae7bc..220de0f8a0 100644 --- a/common/action.c +++ b/common/action.c @@ -348,7 +348,7 @@ void register_code(uint8_t code) return; } -#ifdef LOCKING_SUPPORT_ENABLE +#ifdef LOCKING_SUPPORT_ENABLE else if (KC_LOCKING_CAPS == code) { #ifdef LOCKING_RESYNC_ENABLE // Resync: ignore if caps lock already is on diff --git a/common/led.h b/common/led.h index 402a247b9a..b84a3ff943 100644 --- a/common/led.h +++ b/common/led.h @@ -26,6 +26,7 @@ along with this program. If not, see . #define USB_LED_SCROLL_LOCK 2 #define USB_LED_COMPOSE 3 #define USB_LED_KANA 4 +#define USB_LED_FUNCTION 5 void led_set(uint8_t usb_led); -- cgit v1.2.3