mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 16:58:48 +08:00
[stm32] removed USE_ADC1_2_IRQ_HANDLER flag from makefiles, is not used/needed anymore with libopencm3
This commit is contained in:
@@ -112,8 +112,7 @@ stm_passthrough.CFLAGS += -DUSE_AD1 \
|
||||
-DUSE_AD1_1 \
|
||||
-DUSE_AD1_2 \
|
||||
-DUSE_AD1_3 \
|
||||
-DUSE_AD1_4 \
|
||||
-DUSE_ADC1_2_IRQ_HANDLER
|
||||
-DUSE_AD1_4
|
||||
|
||||
|
||||
# Battery monitor
|
||||
|
||||
@@ -263,7 +263,6 @@ test_adc.CFLAGS += -I$(SRC_LISA)
|
||||
test_adc.srcs += $(SRC_LISA)/test_adc.c
|
||||
test_adc.srcs += $(SRC_ARCH)/mcu_periph/adc_arch.c
|
||||
test_adc.CFLAGS += -DUSE_AD1 -DUSE_AD1_1 -DUSE_AD1_2 -DUSE_AD1_3 -DUSE_AD1_4
|
||||
test_adc.CFLAGS += -DUSE_ADC1_2_IRQ_HANDLER
|
||||
|
||||
|
||||
##################################################
|
||||
|
||||
@@ -139,7 +139,6 @@ ns_CFLAGS += -DUSE_ADC
|
||||
ns_srcs += $(SRC_ARCH)/mcu_periph/adc_arch.c
|
||||
ifeq ($(ARCH), stm32)
|
||||
ns_CFLAGS += -DUSE_AD1 -DUSE_AD1_1 -DUSE_AD1_2 -DUSE_AD1_3 -DUSE_AD1_4
|
||||
ns_CFLAGS += -DUSE_ADC1_2_IRQ_HANDLER
|
||||
endif
|
||||
|
||||
######################################################################
|
||||
|
||||
Reference in New Issue
Block a user