Fix low level host mode demos not correctly fetching the next endpoint when an invali...
[pub/lufa.git] / Demos / Host / LowLevel / VirtualSerialHost / ConfigDescriptor.c
index c35a606..a26fa5c 100644 (file)
@@ -110,6 +110,9 @@ uint8_t ProcessConfigurationDescriptor(void)
                                /* Clear any found endpoints */
                                NotificationEndpoint = NULL;
                        }
+
+                       /* Skip the remainder of the loop as we have not found an endpoint yet */
+                       continue;
                }
                
                /* Retrieve the endpoint address from the endpoint descriptor */