aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol.mk
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-04-24 19:33:52 +0100
committerGitHub <[email protected]>2024-04-24 19:33:52 +0100
commit16cca527a6b46c2aa365428d7d1e214509068c4a (patch)
tree4111bbd48f67ab300652836c1a9d860eaac734ff /tmk_core/protocol.mk
parentc8ceda461afb9d6aab33309a06c94fceabfcbc72 (diff)
downloadqmk_firmware-16cca527a6b46c2aa365428d7d1e214509068c4a.tar.gz
qmk_firmware-16cca527a6b46c2aa365428d7d1e214509068c4a.zip
Fix WAIT_FOR_USB handling (#23598)
Diffstat (limited to 'tmk_core/protocol.mk')
-rw-r--r--tmk_core/protocol.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/protocol.mk b/tmk_core/protocol.mk
index fd5342d637..796b4e8787 100644
--- a/tmk_core/protocol.mk
+++ b/tmk_core/protocol.mk
@@ -66,6 +66,10 @@ ifeq ($(strip $(NO_USB_STARTUP_CHECK)), yes)
OPT_DEFS += -DNO_USB_STARTUP_CHECK
endif
+ifeq ($(strip $(USB_WAIT_FOR_ENUMERATION)), yes)
+ OPT_DEFS += -DUSB_WAIT_FOR_ENUMERATION
+endif
+
ifeq ($(strip $(JOYSTICK_SHARED_EP)), yes)
OPT_DEFS += -DJOYSTICK_SHARED_EP
SHARED_EP_ENABLE = yes