From c1295a35570686da86723a5ea577b2cf1346180b Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Fri, 23 Oct 2020 04:37:34 +1100 Subject: [PATCH] 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 Co-authored-by: Joel Challis --- common_features.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/common_features.mk b/common_features.mk index 7ed77a889d..32028c8af5 100644 --- a/common_features.mk +++ b/common_features.mk @@ -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