From b249128a49225b45e4b1df480edce5ca0059aab2 Mon Sep 17 00:00:00 2001 From: drowe67 Date: Sat, 9 Aug 2014 03:39:39 +0000 Subject: [PATCH] single channel driver OK on Discovery git-svn-id: https://svn.code.sf.net/p/freetel/code@1790 01035d8c-6547-0410-b346-abe4f91aad63 --- codec2-dev/stm32/src/stm32f4_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec2-dev/stm32/src/stm32f4_adc.c b/codec2-dev/stm32/src/stm32f4_adc.c index adad5f89..0e774743 100644 --- a/codec2-dev/stm32/src/stm32f4_adc.c +++ b/codec2-dev/stm32/src/stm32f4_adc.c @@ -135,7 +135,7 @@ void adc_configure(){ // Select the channel to be read from - ADC_RegularChannelConfig(ADCx,ADC_Channel_2,1,ADC_SampleTime_144Cycles); + ADC_RegularChannelConfig(ADCx,ADC_Channel_1,1,ADC_SampleTime_144Cycles); /* DMA configuration **************************************/ -- 2.25.1