diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-12-11 17:35:55 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-12-11 17:35:55 +0000 |
commit | 7d66301e92b84f645e2134819cb9b24caf786d6a (patch) | |
tree | f67fb0e1f9b44a2f4435813b8fbb5fcc2af9ded7 /demos/ARMCM3-STM32F100-DISCOVERY-GCC/main.c | |
parent | 7adef2884e48ab11abd4b2f032263649c2ac22d2 (diff) | |
download | ChibiOS-7d66301e92b84f645e2134819cb9b24caf786d6a.tar.gz ChibiOS-7d66301e92b84f645e2134819cb9b24caf786d6a.tar.bz2 ChibiOS-7d66301e92b84f645e2134819cb9b24caf786d6a.zip |
More STM32 ADC improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2472 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32F100-DISCOVERY-GCC/main.c')
-rw-r--r-- | demos/ARMCM3-STM32F100-DISCOVERY-GCC/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/ARMCM3-STM32F100-DISCOVERY-GCC/main.c b/demos/ARMCM3-STM32F100-DISCOVERY-GCC/main.c index 07ab18537..4d4df9297 100644 --- a/demos/ARMCM3-STM32F100-DISCOVERY-GCC/main.c +++ b/demos/ARMCM3-STM32F100-DISCOVERY-GCC/main.c @@ -48,7 +48,7 @@ static const ADCConversionGroup adcgrpcfg = { adccb,
/* HW dependent part.*/
0,
- ADC_CR2_TSVREFE | ADC_CR2_CONT,
+ ADC_CR2_TSVREFE,
ADC_SMPR1_SMP_AN10(ADC_SAMPLE_41P5) | ADC_SMPR1_SMP_SENSOR(ADC_SAMPLE_239P5),
0,
ADC_SQR1_NUM_CH(ADC_GRP1_NUM_CHANNELS),
|