nucleo-f446re: fix compilation error when ADC is enabled and FOC is disabled

This commit is contained in:
raiden00pl 2021-04-10 21:43:24 +02:00 committed by Xiang Xiao
parent 3f67c67aaf
commit 155770b1e7

View File

@ -36,7 +36,7 @@ ifeq ($(CONFIG_LCD_ILI9225),y)
CSRCS += stm32_ili9225.c
endif
ifeq ($(CONFIG_STM32_FOC),n)
ifneq ($(CONFIG_STM32_FOC),y)
ifeq ($(CONFIG_ADC),y)
CSRCS += stm32_adc.c
ifeq ($(CONFIG_INPUT_AJOYSTICK),y)