diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-06-12 07:03:22 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-06-12 07:03:22 +0000 |
| commit | e4fb94c90a8f474c7f33101976535757dd4a7dac (patch) | |
| tree | 952e61dd9b7c6f6e2dc8a269a6d9439e7215e6e8 /Demos/Device/ClassDriver/AudioInput/AudioInput.c | |
| parent | dd5838e83d04bce2a09e0c37e80135b720397ab0 (diff) | |
Minor fixes to demos to add in some missing comments, printf() formatting. Make incomplete Bluetooth demo indicate connections visually via the board LEDs.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1329 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/ClassDriver/AudioInput/AudioInput.c')
| -rw-r--r-- | Demos/Device/ClassDriver/AudioInput/AudioInput.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Demos/Device/ClassDriver/AudioInput/AudioInput.c b/Demos/Device/ClassDriver/AudioInput/AudioInput.c index dd0028a5..32caffcc 100644 --- a/Demos/Device/ClassDriver/AudioInput/AudioInput.c +++ b/Demos/Device/ClassDriver/AudioInput/AudioInput.c @@ -98,6 +98,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_IsReadyForNextSample(&Microphone_Audio_Interface)) { + /* Clear the sample reload timer compare flag, ready for the next interval */ TIFR0 |= (1 << OCF0A); /* Audio sample is ADC value scaled to fit the entire range */ |
