mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
Added start of the Still Image Host Class driver demo and driver code.
Re-enabled building of the Host mode demos ClassDriver directory.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user