From 9831a1ec8ffdb0d9c4dbe35ecd9b5a69b898bde0 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 24 Mar 2013 15:16:39 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5500 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F37x/adc_lld.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal') diff --git a/os/hal/platforms/STM32F37x/adc_lld.h b/os/hal/platforms/STM32F37x/adc_lld.h index c984dc24a..6d4fcb504 100644 --- a/os/hal/platforms/STM32F37x/adc_lld.h +++ b/os/hal/platforms/STM32F37x/adc_lld.h @@ -661,8 +661,8 @@ struct ADCDriver { #define SDADC_CONFR_GAIN_0P5X (7U << 20) #define SDADC_CONFR_SE_MASK (3U << 26) #define SDADC_CONFR_SE_DIFF (0U << 26) -#define SDADC_CONFR_SE_SE_OFF (1U << 26) -#define SDADC_CONFR_SE_SE_ZV (3U << 26) +#define SDADC_CONFR_SE_OFFSET (1U << 26) +#define SDADC_CONFR_SE_ZERO_VOLT (3U << 26) #define SDADC_CONFR_COMMON_MASK (3U << 30) #define SDADC_CONFR_COMMON_VSSSD (0U << 30) #define SDADC_CONFR_COMMON_VDDSD2 (1U << 30) -- cgit v1.2.3