diff options
author | Joel Challis <git@zvecr.com> | 2020-05-03 01:25:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-03 01:25:39 +0100 |
commit | 5f82b0782f90645eee5926691dcc0ec617d0dff4 (patch) | |
tree | a741b6b432d31c477d3781bde487b13ffb2b3d8a /tmk_core/protocol/vusb.mk | |
parent | 2e6959ed874f19a5db9ee2b4db08c2bc9ec815d2 (diff) | |
download | qmk_firmware-5f82b0782f90645eee5926691dcc0ec617d0dff4.tar.gz qmk_firmware-5f82b0782f90645eee5926691dcc0ec617d0dff4.zip |
Initial vusb console support (#8559)
Diffstat (limited to 'tmk_core/protocol/vusb.mk')
-rw-r--r-- | tmk_core/protocol/vusb.mk | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tmk_core/protocol/vusb.mk b/tmk_core/protocol/vusb.mk index 897b833e1a..6df0d0d339 100644 --- a/tmk_core/protocol/vusb.mk +++ b/tmk_core/protocol/vusb.mk @@ -9,13 +9,12 @@ SRC += $(VUSB_DIR)/main.c \ $(VUSB_DIR)/usbdrv/oddebug.c -ifdef NO_UART -SRC += $(COMMON_DIR)/sendchar_null.c -else +ifneq ($(strip $(CONSOLE_ENABLE)), yes) +ifndef NO_UART SRC += $(COMMON_DIR)/sendchar_uart.c \ $(COMMON_DIR)/uart.c endif - +endif # Search Path VPATH += $(TMK_PATH)/$(VUSB_DIR) |