Fixing py/circuitpy_defns.mk

This commit is contained in:
Lee Atkinson 2022-08-14 14:22:22 -04:00
parent 4542c801b0
commit b2c6bcdf6d

View File

@ -390,9 +390,6 @@ SRC_COMMON_HAL_ALL = \
alarm/time/TimeAlarm.c \
alarm/touch/TouchAlarm.c \
analogio/AnalogIn.c \
#ifdef CIRCUITPYTHON_ANALOGFASTIN
analogio/AnalogFastIn.c \
#endif
analogio/AnalogOut.c \
analogio/__init__.c \
audiobusio/I2SOut.c \
@ -482,6 +479,13 @@ SRC_C += \
endif
ifeq ($(CIRCUITPYTHON_ANALOGFASTIN),1)
# Needed for AnalogFastIn
SRC_COMMON_HAL_ALL += \
analogio/AnalogFastIn.c \
endif
SRC_COMMON_HAL = $(filter $(SRC_PATTERNS), $(SRC_COMMON_HAL_ALL))