X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/77f354609f0411fb6541da31a889186ad402838e..f201f6697b7f99b63389509b42112026b8f6f76f:/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c diff --git a/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c b/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c index 045de9d4c..492988ebe 100644 --- a/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c +++ b/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c @@ -177,7 +177,7 @@ uint8_t DComp_NextStillImageInterfaceDataEndpoint(void* CurrentDescriptor) USB_Descriptor_Endpoint_t* Endpoint = DESCRIPTOR_PCAST(CurrentDescriptor, USB_Descriptor_Endpoint_t); /* Check the endpoint type, break out if correct BULK or INTERRUPT type endpoint found */ - if (((Endpoint->Attributes & EP_TYPE_MASK) == EP_TYPE_BULK) || + if (((Endpoint->Attributes & EP_TYPE_MASK) == EP_TYPE_BULK) || ((Endpoint->Attributes & EP_TYPE_MASK) == EP_TYPE_INTERRUPT)) { return DESCRIPTOR_SEARCH_Found;