From 3dce79d68ccc50ee1007e485396826762b6965b5 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 30 Aug 2009 11:36:04 +0000 Subject: Added start of the Still Image Host Class driver demo and driver code. Re-enabled building of the Host mode demos ClassDriver directory. --- Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c | 4 ++-- Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Demos/Host/LowLevel') diff --git a/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c b/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c index 351537430..a2d4d48dd 100644 --- a/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c +++ b/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c @@ -82,7 +82,7 @@ uint8_t ProcessConfigurationDescriptor(void) { /* Fetch the next endpoint from the current Still Image interface */ if (USB_GetNextDescriptorComp(&ConfigDescriptorSize, &ConfigDescriptorData, - DComp_NextSImageInterfaceDataEndpoint) != DESCRIPTOR_SEARCH_COMP_Found) + DComp_NextStillImageInterfaceDataEndpoint) != DESCRIPTOR_SEARCH_COMP_Found) { /* Descriptor not found, error out */ return NoEndpointFound; @@ -170,7 +170,7 @@ uint8_t DComp_NextStillImageInterface(void* CurrentDescriptor) * * \return A value from the DSEARCH_Return_ErrorCodes_t enum */ -uint8_t DComp_NextSImageInterfaceDataEndpoint(void* CurrentDescriptor) +uint8_t DComp_NextStillImageInterfaceDataEndpoint(void* CurrentDescriptor) { if (DESCRIPTOR_TYPE(CurrentDescriptor) == DTYPE_Endpoint) { diff --git a/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.h b/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.h index 29df30c0c..83722cfc5 100644 --- a/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.h +++ b/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.h @@ -70,6 +70,6 @@ uint8_t ProcessConfigurationDescriptor(void); uint8_t DComp_NextStillImageInterface(void* CurrentDescriptor); - uint8_t DComp_NextSImageInterfaceDataEndpoint(void* CurrentDescriptor); + uint8_t DComp_NextStillImageInterfaceDataEndpoint(void* CurrentDescriptor); #endif -- cgit v1.2.3