Add macro guards to the templated C files to prevent compile errors if they are mista...
[pub/USBasp.git] / Demos / Host / LowLevel / AudioInputHost / ConfigDescriptor.c
index 589012a..8f55114 100644 (file)
@@ -92,7 +92,7 @@ uint8_t ProcessConfigurationDescriptor(void)
                        {\r
                                /* Find a new Audio Control interface if the current one doesn't contain a compatible streaming interface */\r
                                if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation,\r
                        {\r
                                /* Find a new Audio Control interface if the current one doesn't contain a compatible streaming interface */\r
                                if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation,\r
-                                                                                         DComp_NextAudioControlInterface) != DESCRIPTOR_SEARCH_COMP_Found)\r
+                                                             DComp_NextAudioControlInterface) != DESCRIPTOR_SEARCH_COMP_Found)\r
                                {\r
                                        /* Descriptor not found, error out */\r
                                        return NoCompatibleInterfaceFound;\r
                                {\r
                                        /* Descriptor not found, error out */\r
                                        return NoCompatibleInterfaceFound;\r
@@ -103,7 +103,7 @@ uint8_t ProcessConfigurationDescriptor(void)
 \r
                                /* Find the next Audio Streaming interface within that Audio Control interface */\r
                                if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation,\r
 \r
                                /* Find the next Audio Streaming interface within that Audio Control interface */\r
                                if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation,\r
-                                                                                 DComp_NextAudioStreamInterface) != DESCRIPTOR_SEARCH_COMP_Found)\r
+                                                             DComp_NextAudioStreamInterface) != DESCRIPTOR_SEARCH_COMP_Found)\r
                                {\r
                                        /* Descriptor not found, error out */\r
                                        return NoCompatibleInterfaceFound;\r
                                {\r
                                        /* Descriptor not found, error out */\r
                                        return NoCompatibleInterfaceFound;\r