aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-03-03 19:32:27 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-03-03 19:32:27 +0000
commitc1c94fe5a0e0bcfb5ec37ed987b45954afe768cd (patch)
tree088d03b46dcaba731c43271505d291d6b1e6e27c /LUFA/Drivers/USB/Class
parent8c6f26e19db3310c452d19393cb4def3592671b1 (diff)
downloadlufa-c1c94fe5a0e0bcfb5ec37ed987b45954afe768cd.tar.gz
lufa-c1c94fe5a0e0bcfb5ec37ed987b45954afe768cd.tar.bz2
lufa-c1c94fe5a0e0bcfb5ec37ed987b45954afe768cd.zip
Fixed Still Image Host class driver exiting the descriptor search routine prematurely if the data pipes (but not event pipe) is found.
Fixed missing call to Pipe_SetInfiniteINRequests() in the Pipe_ConfigurePipe() routine.
Diffstat (limited to 'LUFA/Drivers/USB/Class')
-rw-r--r--LUFA/Drivers/USB/Class/Host/StillImage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/StillImage.c b/LUFA/Drivers/USB/Class/Host/StillImage.c
index 1fbe000ba..c1a6cacbd 100644
--- a/LUFA/Drivers/USB/Class/Host/StillImage.c
+++ b/LUFA/Drivers/USB/Class/Host/StillImage.c
@@ -51,7 +51,7 @@ uint8_t SI_Host_ConfigurePipes(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo,
if (DESCRIPTOR_TYPE(ConfigDescriptorData) != DTYPE_Configuration)
return SI_ENUMERROR_InvalidConfigDescriptor;
- while (!(DataINEndpoint) || !(DataOUTEndpoint))
+ while (!(DataINEndpoint) || !(DataOUTEndpoint) || !(EventsEndpoint))
{
if (!(StillImageInterface) ||
USB_GetNextDescriptorComp(&ConfigDescriptorSize, &ConfigDescriptorData,