From 662c8e671cbe7c128162ceb330b775f78380dddc Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Tue, 7 Dec 2021 09:53:52 -0800 Subject: Fix webusb issues --- tmk_core/protocol.mk | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3