X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/158afe910947739b1df00000628c1e758bdf0812..d06febbb59f5da074e075cc2c92375d46a1b231a:/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c diff --git a/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c b/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c index 40bc98e2d..2de7b722b 100644 --- a/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c +++ b/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c @@ -96,6 +96,9 @@ uint8_t ProcessConfigurationDescriptor(void) /* Descriptor not found, error out */ return NoCompatibleInterfaceFound; } + + /* Skip the remainder of the loop as we have not found an endpoint yet */ + continue; } /* Retrieve the endpoint address from the endpoint descriptor */