diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-08-25 08:45:58 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-08-25 08:45:58 +0000 |
commit | 6ccef4b00a5ab12265f57bcc70d7090aaf08163c (patch) | |
tree | 5d99df15de4715cb8ef2036ce6759dc0dacbf133 /testhal/STM32/STM32F0xx/ADC | |
parent | 2d9efb0eafab37e73a9be6280e677f720317d0c3 (diff) | |
download | ChibiOS-6ccef4b00a5ab12265f57bcc70d7090aaf08163c.tar.gz ChibiOS-6ccef4b00a5ab12265f57bcc70d7090aaf08163c.tar.bz2 ChibiOS-6ccef4b00a5ab12265f57bcc70d7090aaf08163c.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7190 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F0xx/ADC')
-rw-r--r-- | testhal/STM32/STM32F0xx/ADC/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/STM32F0xx/ADC/main.c b/testhal/STM32/STM32F0xx/ADC/main.c index 86eb71780..ca0aecd07 100644 --- a/testhal/STM32/STM32F0xx/ADC/main.c +++ b/testhal/STM32/STM32F0xx/ADC/main.c @@ -57,7 +57,7 @@ static const ADCConversionGroup adcgrpcfg1 = { ADC_GRP1_NUM_CHANNELS,
NULL,
adcerrorcallback,
- ADC_CFGR1_RES_12BIT, /* CFGRR1 */
+ ADC_CFGR1_CONT | ADC_CFGR1_RES_12BIT, /* CFGRR1 */
ADC_TR(0, 0), /* TR */
ADC_SMPR_SMP_1P5, /* SMPR */
ADC_CHSELR_CHSEL10 /* CHSELR */
@@ -73,7 +73,7 @@ static const ADCConversionGroup adcgrpcfg2 = { ADC_GRP2_NUM_CHANNELS,
adccallback,
adcerrorcallback,
- ADC_CFGR1_RES_12BIT, /* CFGRR1 */
+ ADC_CFGR1_CONT | ADC_CFGR1_RES_12BIT, /* CFGRR1 */
ADC_TR(0, 0), /* TR */
ADC_SMPR_SMP_28P5, /* SMPR */
ADC_CHSELR_CHSEL10 | ADC_CHSELR_CHSEL11 |
|