summaryrefslogtreecommitdiff
path: root/tmk_core/protocol.mk
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2021-12-07 09:53:52 -0800
committerDrashna Jael're <drashna@live.com>2021-12-07 09:53:52 -0800
commit662c8e671cbe7c128162ceb330b775f78380dddc (patch)
tree4cf00faf1bcdc80127f6310e3feab445038d9d73 /tmk_core/protocol.mk
parent93e4f52fc6ec1633d6b19d8b6e6286fdb1353dc5 (diff)
Fix webusb issues
Diffstat (limited to 'tmk_core/protocol.mk')
-rw-r--r--tmk_core/protocol.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/tmk_core/protocol.mk b/tmk_core/protocol.mk
index 31a6de76f1..6640af8351 100644
--- a/tmk_core/protocol.mk
+++ b/tmk_core/protocol.mk
@@ -32,6 +32,11 @@ ifeq ($(strip $(RAW_ENABLE)), yes)
TMK_COMMON_DEFS += -DRAW_ENABLE
endif
+ifeq ($(strip $(WEBUSB_ENABLE)), yes)
+ TMK_COMMON_SRC += $(PLATFORM_PATH)/webusb.c
+ TMK_COMMON_DEFS += -DWEBUSB_ENABLE
+endif
+
ifeq ($(strip $(CONSOLE_ENABLE)), yes)
TMK_COMMON_DEFS += -DCONSOLE_ENABLE
else