X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/871d9bf1af06fe208ca16cb3b19722bec1300e63..b68f7f16499a96e85c7cef4afd9da1a5c69e6a08:/Demos/Device/ClassDriver/AudioInput/AudioInput.c?ds=inline diff --git a/Demos/Device/ClassDriver/AudioInput/AudioInput.c b/Demos/Device/ClassDriver/AudioInput/AudioInput.c index eeec921ee..b90ee5125 100644 --- a/Demos/Device/ClassDriver/AudioInput/AudioInput.c +++ b/Demos/Device/ClassDriver/AudioInput/AudioInput.c @@ -86,7 +86,7 @@ void SetupHardware(void) ADC_SetupChannel(MIC_IN_ADC_CHANNEL); /* Start the ADC conversion in free running mode */ - ADC_StartReading(ADC_REFERENCE_AVCC | ADC_RIGHT_ADJUSTED | MIC_IN_ADC_CHANNEL); + ADC_StartReading(ADC_REFERENCE_AVCC | ADC_RIGHT_ADJUSTED | MIC_IN_ADC_MUX_MASK); } /** Processes the next audio sample by reading the last ADC conversion and writing it to the audio