From 6ccef4b00a5ab12265f57bcc70d7090aaf08163c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 25 Aug 2014 08:45:58 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7190 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32F0xx/ADC/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testhal/STM32/STM32F0xx') 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 | -- cgit v1.2.3