summaryrefslogtreecommitdiff
path: root/tmk_core/common/keyboard.c
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-03-28 19:45:20 -0500
committerIBNobody <ibnobody@gmail.com>2016-03-28 19:45:20 -0500
commit1d13aa933bbb57bf0c1fe0196981b81233c3df97 (patch)
tree2e5efa9dba7e082b5f37ecc6e07368ef45e73434 /tmk_core/common/keyboard.c
parenta70f43967283498dc01cbfc534819ac9da80f10b (diff)
Minor Tweaks and Documentation
Fixed compiler warning by including bootloader.h in keymap_common.c. Changed FORCE_NKRO to only be applied if NKRO_ENABLE is defined. Added extra documentation to the template config.h
Diffstat (limited to 'tmk_core/common/keyboard.c')
-rw-r--r--tmk_core/common/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c
index e668084858..302b3ec87c 100644
--- a/tmk_core/common/keyboard.c
+++ b/tmk_core/common/keyboard.c
@@ -92,7 +92,7 @@ void keyboard_init(void)
backlight_init();
#endif
-#ifdef FORCE_NKRO
+#if defined(NKRO_ENABLE) && defined(FORCE_NKRO)
keyboard_nkro = true;
#endif