diff options
Diffstat (limited to 'demos/STM32')
-rw-r--r-- | demos/STM32/RT-STM32F334-DISCOVERY/mcuconf.h | 2 | ||||
-rw-r--r-- | demos/STM32/RT-STM32F334R8-NUCLEO64/mcuconf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F334-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F334-DISCOVERY/mcuconf.h index cc5ce8913..7433e7a4e 100644 --- a/demos/STM32/RT-STM32F334-DISCOVERY/mcuconf.h +++ b/demos/STM32/RT-STM32F334-DISCOVERY/mcuconf.h @@ -67,7 +67,7 @@ #define STM32_ADC_USE_ADC1 FALSE
#define STM32_ADC_USE_ADC2 FALSE
#define STM32_ADC_ADC1_DMA_STREAM STM32_DMA_STREAM_ID(1, 1)
-#define STM32_ADC_ADC2_DMA_STREAM STM32_DMA_STREAM_ID(2, 1)
+#define STM32_ADC_ADC2_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
#define STM32_ADC_ADC1_DMA_PRIORITY 2
#define STM32_ADC_ADC2_DMA_PRIORITY 2
#define STM32_ADC_ADC12_IRQ_PRIORITY 5
diff --git a/demos/STM32/RT-STM32F334R8-NUCLEO64/mcuconf.h b/demos/STM32/RT-STM32F334R8-NUCLEO64/mcuconf.h index cc5ce8913..7433e7a4e 100644 --- a/demos/STM32/RT-STM32F334R8-NUCLEO64/mcuconf.h +++ b/demos/STM32/RT-STM32F334R8-NUCLEO64/mcuconf.h @@ -67,7 +67,7 @@ #define STM32_ADC_USE_ADC1 FALSE
#define STM32_ADC_USE_ADC2 FALSE
#define STM32_ADC_ADC1_DMA_STREAM STM32_DMA_STREAM_ID(1, 1)
-#define STM32_ADC_ADC2_DMA_STREAM STM32_DMA_STREAM_ID(2, 1)
+#define STM32_ADC_ADC2_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
#define STM32_ADC_ADC1_DMA_PRIORITY 2
#define STM32_ADC_ADC2_DMA_PRIORITY 2
#define STM32_ADC_ADC12_IRQ_PRIORITY 5
|