aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-06-12 07:03:22 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-06-12 07:03:22 +0000
commit931ca42a6efc88b31cd09cebc7c74b907dd5913d (patch)
tree952e61dd9b7c6f6e2dc8a269a6d9439e7215e6e8 /Demos/Device/ClassDriver/AudioOutput/AudioOutput.c
parent75d440ace31c326dc80c84c3d346a425f43f1dd6 (diff)
downloadlufa-931ca42a6efc88b31cd09cebc7c74b907dd5913d.tar.gz
lufa-931ca42a6efc88b31cd09cebc7c74b907dd5913d.tar.bz2
lufa-931ca42a6efc88b31cd09cebc7c74b907dd5913d.zip
Minor fixes to demos to add in some missing comments, printf() formatting. Make incomplete Bluetooth demo indicate connections visually via the board LEDs.
Diffstat (limited to 'Demos/Device/ClassDriver/AudioOutput/AudioOutput.c')
-rw-r--r--Demos/Device/ClassDriver/AudioOutput/AudioOutput.c2
1 files changed, 1 insertions, 1 deletions
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 */