summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2014-12-11 17:36:42 -0500
committerJack Humbert <jack.humb@gmail.com>2014-12-11 17:36:42 -0500
commitd9a1b9086f23477ffdcce3c1ff49ec1ce7c8791f (patch)
tree47fb4e6f2311dd5193af921c379629dac98c09a2 /common
parent1c6770f18cd5d7794c9ad198ada8062de8679e7c (diff)
led
Diffstat (limited to 'common')
-rw-r--r--common/action.c2
-rw-r--r--common/led.h1
2 files changed, 2 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
#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);