summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/stm32/adc-stm32f3.c5
-rw-r--r--chip/stm32/adc-stm32l.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/chip/stm32/adc-stm32f3.c b/chip/stm32/adc-stm32f3.c
index a8203bae24..cd04fa2273 100644
--- a/chip/stm32/adc-stm32f3.c
+++ b/chip/stm32/adc-stm32f3.c
@@ -30,11 +30,6 @@ struct mutex adc_lock;
static int watchdog_ain_id;
-static const struct dma_option dma_adc_option = {
- STM32_DMAC_ADC, (void *)&STM32_ADC_DR,
- STM32_DMA_CCR_MSIZE_16_BIT | STM32_DMA_CCR_PSIZE_16_BIT,
-};
-
static inline void adc_set_channel(int sample_id, int channel)
{
uint32_t mask, val;
diff --git a/chip/stm32/adc-stm32l.c b/chip/stm32/adc-stm32l.c
index 5a67254f29..270d953252 100644
--- a/chip/stm32/adc-stm32l.c
+++ b/chip/stm32/adc-stm32l.c
@@ -21,11 +21,6 @@ struct mutex adc_lock;
static int restore_clock;
-static const struct dma_option dma_adc_option = {
- STM32_DMAC_ADC, (void *)&STM32_ADC_DR,
- STM32_DMA_CCR_MSIZE_16_BIT | STM32_DMA_CCR_PSIZE_16_BIT,
-};
-
static inline void adc_set_channel(int sample_id, int channel)
{
uint32_t mask, val;