aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F0xx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-08-26 08:01:44 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-08-26 08:01:44 +0000
commit4608d6be46235fb390866fbe25ec3d98715ebdd1 (patch)
tree1a92763c95bc3649229ac074a07a4c529e03f337 /testhal/STM32/STM32F0xx
parentcb595b74a22031d5de0e27aa0001d20b3a815d42 (diff)
downloadChibiOS-4608d6be46235fb390866fbe25ec3d98715ebdd1.tar.gz
ChibiOS-4608d6be46235fb390866fbe25ec3d98715ebdd1.tar.bz2
ChibiOS-4608d6be46235fb390866fbe25ec3d98715ebdd1.zip
Fixed bug #528.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7193 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F0xx')
-rw-r--r--testhal/STM32/STM32F0xx/ADC/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/STM32F0xx/ADC/main.c b/testhal/STM32/STM32F0xx/ADC/main.c
index ca0aecd07..d9a4a63de 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_CONT | ADC_CFGR1_RES_12BIT, /* CFGRR1 */
+ ADC_CFGR1_CONT | ADC_CFGR1_RES_12BIT, /* CFGR1 */
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_CONT | ADC_CFGR1_RES_12BIT, /* CFGRR1 */
+ ADC_CFGR1_CONT | ADC_CFGR1_RES_12BIT, /* CFGR1 */
ADC_TR(0, 0), /* TR */
ADC_SMPR_SMP_28P5, /* SMPR */
ADC_CHSELR_CHSEL10 | ADC_CHSELR_CHSEL11 |