X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/071e02c6b6b4837fa9cf0b6d4c749994e02638d7..55d7e1e65bccd6b4c44802cf971f39eb05e6e57a:/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c?ds=inline diff --git a/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c b/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c index 622e423c6..9d2232ccb 100644 --- a/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c +++ b/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c @@ -93,7 +93,7 @@ void ProcessNextSample(void) /* Check if the sample reload timer period has elapsed, and that the USB bus is ready for a new sample */ if ((TIFR0 & (1 << OCF0A)) && Audio_Device_IsSampleReceived(&Speaker_Audio_Interface)) { - /* Clear the sample reload timer */ + /* Clear the sample reload timer compare flag, ready for the next interval */ TIFR0 |= (1 << OCF0A); /* Retrieve the signed 16-bit left and right audio samples, convert to 8-bit */