Browse Source

Add definition based on currently-selected serial driver. (#10716)

* Add definition based on currently-selected serial driver.

* Apply suggestions from code review

Suggestions from zvecr.

Co-authored-by: Joel Challis <git@zvecr.com>

Co-authored-by: Joel Challis <git@zvecr.com>
pull/10800/head
Nick Brassel 3 years ago
committed by James Young
parent
commit
c1295a3557
No known key found for this signature in database GPG Key ID: 8E1085BF6FCFBD74
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      common_features.mk

+ 1
- 0
common_features.mk View File

@ -450,6 +450,7 @@ ifeq ($(strip $(SPLIT_KEYBOARD)), yes)
endif
SERIAL_DRIVER ?= bitbang
OPT_DEFS += -DSERIAL_DRIVER_$(strip $(shell echo $(SERIAL_DRIVER) | tr '[:lower:]' '[:upper:]'))
ifeq ($(strip $(SERIAL_DRIVER)), bitbang)
QUANTUM_LIB_SRC += serial.c
else


Loading…
Cancel
Save