diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-08-24 13:23:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-08-24 13:23:10 +0000 |
commit | 2d9efb0eafab37e73a9be6280e677f720317d0c3 (patch) | |
tree | a1566c8c32a4bf28c6efefb7d4d9665799276927 /testhal/STM32/STM32F30x/ADC_DUAL/main.c | |
parent | 2804bd065591927fd6f818b1af2d4f32562a9a1c (diff) | |
download | ChibiOS-2d9efb0eafab37e73a9be6280e677f720317d0c3.tar.gz ChibiOS-2d9efb0eafab37e73a9be6280e677f720317d0c3.tar.bz2 ChibiOS-2d9efb0eafab37e73a9be6280e677f720317d0c3.zip |
Fixed bug #527.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7188 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F30x/ADC_DUAL/main.c')
-rw-r--r-- | testhal/STM32/STM32F30x/ADC_DUAL/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/STM32F30x/ADC_DUAL/main.c b/testhal/STM32/STM32F30x/ADC_DUAL/main.c index 849207de0..9dfcb73d0 100644 --- a/testhal/STM32/STM32F30x/ADC_DUAL/main.c +++ b/testhal/STM32/STM32F30x/ADC_DUAL/main.c @@ -57,7 +57,7 @@ static const ADCConversionGroup adcgrpcfg1 = { ADC_GRP1_NUM_CHANNELS,
NULL,
adcerrorcallback,
- 0, /* CFGR */
+ ADC_CFGR_CONT, /* CFGR */
ADC_TR(0, 4095), /* TR1 */
ADC_CCR_DUAL(1), /* CCR */
{ /* SMPR[2] */
@@ -92,7 +92,7 @@ static const ADCConversionGroup adcgrpcfg2 = { ADC_GRP2_NUM_CHANNELS,
adccallback,
adcerrorcallback,
- 0, /* CFGR */
+ ADC_CFGR_CONT, /* CFGR */
ADC_TR(0, 4095), /* TR1 */
ADC_CCR_DUAL(1) | ADC_CCR_TSEN | ADC_CCR_VBATEN, /* CCR */
{ /* SMPR[2] */
|