aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/AudioOutputHost
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-06-12 13:59:03 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-06-12 13:59:03 +0000
commit6e0a26083ad76d2cea5aa934b530fdd8d6f4e7c1 (patch)
tree969c0909c3ca08b2e376cb9b6a4eff4e21078da4 /Demos/Host/LowLevel/AudioOutputHost
parent6e2a3174a5e08528299c208bf9415beccf43840a (diff)
downloadlufa-6e0a26083ad76d2cea5aa934b530fdd8d6f4e7c1.tar.gz
lufa-6e0a26083ad76d2cea5aa934b530fdd8d6f4e7c1.tar.bz2
lufa-6e0a26083ad76d2cea5aa934b530fdd8d6f4e7c1.zip
Fix bugs in the Host mode Audio class driver.
Diffstat (limited to 'Demos/Host/LowLevel/AudioOutputHost')
-rw-r--r--Demos/Host/LowLevel/AudioOutputHost/ConfigDescriptor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Demos/Host/LowLevel/AudioOutputHost/ConfigDescriptor.c b/Demos/Host/LowLevel/AudioOutputHost/ConfigDescriptor.c
index 30b50c681..2171320c7 100644
--- a/Demos/Host/LowLevel/AudioOutputHost/ConfigDescriptor.c
+++ b/Demos/Host/LowLevel/AudioOutputHost/ConfigDescriptor.c
@@ -88,11 +88,11 @@ uint8_t ProcessConfigurationDescriptor(void)
/* Check if we haven't found an Audio Control interface yet, or if we have run out of related Audio Streaming interfaces */
if (!(AudioControlInterface) ||
USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation,
- DComp_NextAudioStreamInterface) != DESCRIPTOR_SEARCH_COMP_Found)
+ DComp_NextAudioStreamInterface) != DESCRIPTOR_SEARCH_COMP_Found)
{
/* Find a new Audio Control interface if the current one doesn't contain a compatible streaming interface */
if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation,
- DComp_NextAudioControlInterface) != DESCRIPTOR_SEARCH_COMP_Found)
+ DComp_NextAudioControlInterface) != DESCRIPTOR_SEARCH_COMP_Found)
{
/* Descriptor not found, error out */
return NoCompatibleInterfaceFound;
@@ -103,7 +103,7 @@ uint8_t ProcessConfigurationDescriptor(void)
/* Find the next Audio Streaming interface within that Audio Control interface */
if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation,
- DComp_NextAudioStreamInterface) != DESCRIPTOR_SEARCH_COMP_Found)
+ DComp_NextAudioStreamInterface) != DESCRIPTOR_SEARCH_COMP_Found)
{
/* Descriptor not found, error out */
return NoCompatibleInterfaceFound;