Skip to content

Commit

Permalink
fix(globe key): corrected the flag set.
Browse files Browse the repository at this point in the history
SHARE_EP_ENABLE was incorrectly set with GLOBE_KEY_ENABLE, what was
needed is to set the KEYBOARD_SHARED_EP instead. This corrects it.
  • Loading branch information
ChrisGVE committed Nov 30, 2024
1 parent ad15e33 commit 559cd8c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tmk_core/protocol.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ SRC += \
$(PROTOCOL_DIR)/usb_device_state.c \
$(PROTOCOL_DIR)/usb_util.c \

SHARED_EP_ENABLE = no
MOUSE_SHARED_EP ?= yes

ifeq ($(strip $(GLOBE_KEY_ENABLE)), yes)
OPT_DEFS += -DGLOBE_KEY_ENABLE
# The globe key requires SHARED_EP
SHARED_EP_ENABLE = yes
# The globe key requires KEYBOARD_SHARED_EP
KEYBOARD_SHARED_EP = yes
endif

SHARED_EP_ENABLE = no
MOUSE_SHARED_EP ?= yes
ifeq ($(strip $(KEYBOARD_SHARED_EP)), yes)
OPT_DEFS += -DKEYBOARD_SHARED_EP
SHARED_EP_ENABLE = yes
Expand Down

0 comments on commit 559cd8c

Please sign in to comment.