From 30b7651875f7eee983f89b153a547ad3c8c4ae0a Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 15 Nov 2016 10:33:38 +0000 Subject: Fixed bug #790. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9910 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F3xx/stm32_registry.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'os/hal') diff --git a/os/hal/ports/STM32/STM32F3xx/stm32_registry.h b/os/hal/ports/STM32/STM32F3xx/stm32_registry.h index 815a74354..f0c83fe22 100644 --- a/os/hal/ports/STM32/STM32F3xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F3xx/stm32_registry.h @@ -593,8 +593,7 @@ #define STM32_HAS_ADC2 TRUE #define STM32_ADC2_HANDLER Vector88 #define STM32_ADC2_NUMBER 18 -#define STM32_ADC2_DMA_MSK (STM32_DMA_STREAM_ID_MSK(2, 1) |\ - STM32_DMA_STREAM_ID_MSK(2, 3)) +#define STM32_ADC2_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 2)) #define STM32_ADC2_DMA_CHN 0x00000000 #define STM32_HAS_ADC3 FALSE -- cgit v1.2.3