Skip to content

Fix for: VUSB: undefined references #547 #638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Change VUSB NO_UART check the same style as other Makefile options
Same yes/no posibility than the other documented options. Before it worked
when set to yes, but set to no also disabled it.
  • Loading branch information
nuess0r committed Jan 2, 2020
commit 7326d32ee514cfcf53e754304d9d98d48ebf1c8c
4 changes: 2 additions & 2 deletions tmk_core/protocol/vusb.mk
Original file line number Diff line number Diff line change
@@ -9,12 +9,12 @@ SRC += $(VUSB_DIR)/main.c \
$(VUSB_DIR)/usbdrv/oddebug.c


ifdef NO_UART
ifeq (yes,$(strip $(NO_UART)))
OPT_DEFS += -DNO_UART
SRC += $(COMMON_DIR)/sendchar_null.c
else
SRC += $(COMMON_DIR)/sendchar_uart.c \
$(COMMON_DIR)/uart.c
$(COMMON_DIR)/avr/uart.c
endif