ADC configuration change.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2468 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2010-12-11 09:07:18 +00:00
parent 27b7c4ec04
commit 1df1af83f8
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ static const ADCConversionGroup adcgrpcfg = {
adccb, adccb,
/* HW dependent part.*/ /* HW dependent part.*/
0, 0,
ADC_CR2_EXTSEL_SWSTART | ADC_CR2_TSVREFE | ADC_CR2_CONT, ADC_CR2_TSVREFE | ADC_CR2_CONT,
ADC_SMPR1_SMP_AN10(ADC_SAMPLE_41P5) | ADC_SMPR1_SMP_SENSOR(ADC_SAMPLE_239P5), ADC_SMPR1_SMP_AN10(ADC_SAMPLE_41P5) | ADC_SMPR1_SMP_SENSOR(ADC_SAMPLE_239P5),
0, 0,
ADC_SQR1_NUM_CH(ADC_GRP1_NUM_CHANNELS), ADC_SQR1_NUM_CH(ADC_GRP1_NUM_CHANNELS),