Browse Source

Disable NKRO on V-USB controllers (#9054)

* Disable NKRO on V-USB controllers

* not _currently_ supported text

Co-authored-by: Ryan <fauxpark@gmail.com>

Co-authored-by: Ryan <fauxpark@gmail.com>
Drashna Jaelre 6 years ago
parent
commit
3c74edbc69
1 changed files with 6 additions and 2 deletions
  1. 6 2
      tmk_core/common.mk

+ 6 - 2
tmk_core/common.mk

@@ -99,8 +99,12 @@ ifeq ($(strip $(COMMAND_ENABLE)), yes)
 endif
 
 ifeq ($(strip $(NKRO_ENABLE)), yes)
-    TMK_COMMON_DEFS += -DNKRO_ENABLE
-    SHARED_EP_ENABLE = yes
+    ifneq ($(PROTOCOL),VUSB)
+        TMK_COMMON_DEFS += -DNKRO_ENABLE
+        SHARED_EP_ENABLE = yes
+    else
+        $(info NKRO is not currently supported on V-USB, and has been disabled.)
+    endif
 endif
 
 ifeq ($(strip $(USB_6KRO_ENABLE)), yes)