forked from mfulz_github/qmk_firmware
Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions.
This commit is contained in:
parent
8b009bc113
commit
702bec892d
|
@ -85,7 +85,7 @@ int main(void)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SI_Host_ConfigurePipes(&DigitalCamera_SI_Interface,
|
if (SImage_Host_ConfigurePipes(&DigitalCamera_SI_Interface,
|
||||||
ConfigDescriptorSize, ConfigDescriptorData) != SI_ENUMERROR_NoError)
|
ConfigDescriptorSize, ConfigDescriptorData) != SI_ENUMERROR_NoError)
|
||||||
{
|
{
|
||||||
printf("Attached Device Not a Valid CDC Class Device.\r\n");
|
printf("Attached Device Not a Valid CDC Class Device.\r\n");
|
||||||
|
@ -141,7 +141,7 @@ int main(void)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
SI_Host_USBTask(&DigitalCamera_SI_Interface);
|
SImage_Host_USBTask(&DigitalCamera_SI_Interface);
|
||||||
USB_USBTask();
|
USB_USBTask();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#define INCLUDE_FROM_SI_CLASS_HOST_C
|
#define INCLUDE_FROM_SI_CLASS_HOST_C
|
||||||
#include "StillImage.h"
|
#include "StillImage.h"
|
||||||
|
|
||||||
uint8_t SI_Host_ConfigurePipes(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, uint16_t ConfigDescriptorSize,
|
uint8_t SImage_Host_ConfigurePipes(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, uint16_t ConfigDescriptorSize,
|
||||||
void* DeviceConfigDescriptor)
|
void* DeviceConfigDescriptor)
|
||||||
{
|
{
|
||||||
uint8_t FoundEndpoints = 0;
|
uint8_t FoundEndpoints = 0;
|
||||||
|
@ -142,7 +142,7 @@ uint8_t DComp_SI_Host_NextSIInterfaceEndpoint(void* const CurrentDescriptor)
|
||||||
return DESCRIPTOR_SEARCH_NotFound;
|
return DESCRIPTOR_SEARCH_NotFound;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SI_Host_USBTask(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo)
|
void SImage_Host_USBTask(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -114,7 +114,7 @@
|
||||||
*
|
*
|
||||||
* \param[in,out] SIInterfaceInfo Pointer to a structure containing a Still Image Class host configuration and state
|
* \param[in,out] SIInterfaceInfo Pointer to a structure containing a Still Image Class host configuration and state
|
||||||
*/
|
*/
|
||||||
void SI_Host_USBTask(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1);
|
void SImage_Host_USBTask(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1);
|
||||||
|
|
||||||
|
|
||||||
/** Host interface configuration routine, to configure a given Still Image host interface instance using the
|
/** Host interface configuration routine, to configure a given Still Image host interface instance using the
|
||||||
|
@ -129,7 +129,7 @@
|
||||||
*
|
*
|
||||||
* \return A value from the \ref SIHost_EnumerationFailure_ErrorCodes_t enum
|
* \return A value from the \ref SIHost_EnumerationFailure_ErrorCodes_t enum
|
||||||
*/
|
*/
|
||||||
uint8_t SI_Host_ConfigurePipes(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, uint16_t ConfigDescriptorSize,
|
uint8_t SImage_Host_ConfigurePipes(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, uint16_t ConfigDescriptorSize,
|
||||||
void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(3);
|
void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(3);
|
||||||
|
|
||||||
/** Opens a new PIMA session with the attached device. This should be used before any session-orientated PIMA commands
|
/** Opens a new PIMA session with the attached device. This should be used before any session-orientated PIMA commands
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \ingroup Group_USB
|
/** \ingroup Group_USB
|
||||||
* @defgroup Group_USBMode USB Configuration Tokens
|
* @defgroup Group_USBMode USB Mode Tokens
|
||||||
*
|
*
|
||||||
* After the inclusion of the master USB driver header, one or more of the following
|
* After the inclusion of the master USB driver header, one or more of the following
|
||||||
* tokens may be defined, to allow the user code to conditionally enable or disable
|
* tokens may be defined, to allow the user code to conditionally enable or disable
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
* <b>Fixed:</b>
|
* <b>Fixed:</b>
|
||||||
* - Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver
|
* - Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver
|
||||||
* - Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt data in the HID Host Parser
|
* - Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt data in the HID Host Parser
|
||||||
|
* - Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions
|
||||||
*
|
*
|
||||||
* \section Sec_ChangeLog091122 Version 091122
|
* \section Sec_ChangeLog091122 Version 091122
|
||||||
*
|
*
|
||||||
|
|
|
@ -12,6 +12,10 @@
|
||||||
*
|
*
|
||||||
* \section Sec_MigrationXXXXXX Migrating from 091122 to XXXXXX
|
* \section Sec_MigrationXXXXXX Migrating from 091122 to XXXXXX
|
||||||
*
|
*
|
||||||
|
* <b>Host Mode</b>
|
||||||
|
* - The Still Image Host Class driver SI_Host_USBTask() and SI_Host_ConfigurePipes() functions were misnamed, and are
|
||||||
|
* now named SImage_Host_USBTask() and SImage_Host_ConfigurePipes() respectively.
|
||||||
|
*
|
||||||
* <b>Device Mode</b>
|
* <b>Device Mode</b>
|
||||||
* - The CALLBACK_HID_Device_CreateHIDReport() HID Device Class driver callback now has a new ReportType parameter to
|
* - The CALLBACK_HID_Device_CreateHIDReport() HID Device Class driver callback now has a new ReportType parameter to
|
||||||
* indicate the report type to generate. Existing applications may simply add and ignore this additional parameter.
|
* indicate the report type to generate. Existing applications may simply add and ignore this additional parameter.
|
||||||
|
|
|
@ -15,11 +15,7 @@
|
||||||
|
|
||||||
DSTATUS disk_initialize (void)
|
DSTATUS disk_initialize (void)
|
||||||
{
|
{
|
||||||
DSTATUS stat;
|
return RES_OK;
|
||||||
|
|
||||||
stat = RES_OK;
|
|
||||||
|
|
||||||
return stat;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue