From: drowe67 Date: Sat, 9 Aug 2014 03:43:08 +0000 (+0000) Subject: single channel driver OK on Discovery X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=3716e35e8408a9a038a0621ffc9fdd404883f1fb;p=freetel-svn-tracking.git single channel driver OK on Discovery git-svn-id: https://svn.code.sf.net/p/freetel/code@1791 01035d8c-6547-0410-b346-abe4f91aad63 --- 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 **************************************/