From 6e0a26083ad76d2cea5aa934b530fdd8d6f4e7c1 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 12 Jun 2011 13:59:03 +0000 Subject: Fix bugs in the Host mode Audio class driver. --- Demos/Host/LowLevel/AudioInputHost/ConfigDescriptor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Demos/Host/LowLevel/AudioInputHost/ConfigDescriptor.c') diff --git a/Demos/Host/LowLevel/AudioInputHost/ConfigDescriptor.c b/Demos/Host/LowLevel/AudioInputHost/ConfigDescriptor.c index 589012aaa..8f551144c 100644 --- a/Demos/Host/LowLevel/AudioInputHost/ConfigDescriptor.c +++ b/Demos/Host/LowLevel/AudioInputHost/ConfigDescriptor.c @@ -92,7 +92,7 @@ uint8_t ProcessConfigurationDescriptor(void) { /* 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; -- cgit v1.2.3