projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new Audio Class Driver Host demos.
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
AudioInput
/
AudioInput.c
diff --git
a/Demos/Device/ClassDriver/AudioInput/AudioInput.c
b/Demos/Device/ClassDriver/AudioInput/AudioInput.c
index
447cb91
..
4bf1ef8
100644
(file)
--- a/
Demos/Device/ClassDriver/AudioInput/AudioInput.c
+++ b/
Demos/Device/ClassDriver/AudioInput/AudioInput.c
@@
-98,7
+98,7
@@
ISR(TIMER0_COMPA_vect, ISR_BLOCK)
{
uint8_t PrevEndpoint = Endpoint_GetCurrentEndpoint();
{
uint8_t PrevEndpoint = Endpoint_GetCurrentEndpoint();
- /* Check
if the sample reload timer period has elapsed, and that the USB bus is ready for a new sampl
e */
+ /* Check
that the USB bus is ready for the next sample to writ
e */
if (Audio_Device_IsReadyForNextSample(&Microphone_Audio_Interface))
{
int16_t AudioSample;
if (Audio_Device_IsReadyForNextSample(&Microphone_Audio_Interface))
{
int16_t AudioSample;