aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM3-STM32F100-DISCOVERY
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-01-20 19:07:07 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-01-20 19:07:07 +0000
commit1664a6573e8b8c6caf4104c1e4e298a34e8c8271 (patch)
treeaa91cc5d71733a9c25680ff3dc131c8efdb73ba9 /demos/ARMCM3-STM32F100-DISCOVERY
parentc904e6588a049d5e00aaf084a24037786a5182d6 (diff)
downloadChibiOS-1664a6573e8b8c6caf4104c1e4e298a34e8c8271.tar.gz
ChibiOS-1664a6573e8b8c6caf4104c1e4e298a34e8c8271.tar.bz2
ChibiOS-1664a6573e8b8c6caf4104c1e4e298a34e8c8271.zip
Fixed bug 3160306.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2663 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32F100-DISCOVERY')
-rw-r--r--demos/ARMCM3-STM32F100-DISCOVERY/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/ARMCM3-STM32F100-DISCOVERY/main.c b/demos/ARMCM3-STM32F100-DISCOVERY/main.c
index 471929a4d..c4a222680 100644
--- a/demos/ARMCM3-STM32F100-DISCOVERY/main.c
+++ b/demos/ARMCM3-STM32F100-DISCOVERY/main.c
@@ -53,7 +53,7 @@ static const ADCConversionGroup adcgrpcfg = {
0,
ADC_SQR1_NUM_CH(ADC_GRP1_NUM_CHANNELS),
0,
- ADC_SQR3_SQ1_N(ADC_CHANNEL_IN10) | ADC_SQR3_SQ0_N(ADC_CHANNEL_SENSOR)
+ ADC_SQR3_SQ2_N(ADC_CHANNEL_IN10) | ADC_SQR3_SQ1_N(ADC_CHANNEL_SENSOR)
};
/*