From 3716e35e8408a9a038a0621ffc9fdd404883f1fb Mon Sep 17 00:00:00 2001 From: drowe67 Date: Sat, 9 Aug 2014 03:43:08 +0000 Subject: [PATCH] single channel driver OK on Discovery git-svn-id: https://svn.code.sf.net/p/freetel/code@1791 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 0e774743..07cffa68 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_1,1,ADC_SampleTime_144Cycles); + ADC_RegularChannelConfig(ADCx,ADC_Channel_3,1,ADC_SampleTime_144Cycles); /* DMA configuration **************************************/ -- 2.25.1