summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
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);