summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e5dc27d..f6b1f0e 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,10 @@ ifneq ($(findstring softi2c,${drivers}), )
COMMON_FLAGS += -DDRIVER_SOFTI2C
endif
+ifeq (${softi2c_pullup}, 1)
+ COMMON_FLAGS += -DSOFTI2C_PULLUP
+endif
+
ifeq (${timer_cycles}, 1)
COMMON_FLAGS += -DTIMER_CYCLES
endif