X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/4e99625f7cd9ccd10251c871670b286536483333..f79f9abd28040d839b02ea22cdfde3d0a34f3482:/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 b90ee5125..22d0173a9 100644 --- a/Demos/Device/ClassDriver/AudioInput/AudioInput.c +++ b/Demos/Device/ClassDriver/AudioInput/AudioInput.c @@ -104,7 +104,7 @@ void ProcessNextSample(void) #if defined(MICROPHONE_BIASED_TO_HALF_RAIL) /* Microphone is biased to half rail voltage, subtract the bias from the sample value */ - AudioSample -= (SAMPLE_MAX_RANGE / 2)); + AudioSample -= (SAMPLE_MAX_RANGE / 2); #endif Audio_Device_WriteSample16(&Microphone_Audio_Interface, AudioSample);