break;\r
}\r
\r
- if (SI_Host_ConfigurePipes(&DigitalCamera_SI_Interface,\r
- ConfigDescriptorSize, ConfigDescriptorData) != SI_ENUMERROR_NoError)\r
+ if (SImage_Host_ConfigurePipes(&DigitalCamera_SI_Interface,\r
+ ConfigDescriptorSize, ConfigDescriptorData) != SI_ENUMERROR_NoError)\r
{\r
printf("Attached Device Not a Valid CDC Class Device.\r\n");\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);\r
break;\r
}\r
\r
- SI_Host_USBTask(&DigitalCamera_SI_Interface);\r
+ SImage_Host_USBTask(&DigitalCamera_SI_Interface);\r
USB_USBTask();\r
}\r
}\r
#define INCLUDE_FROM_SI_CLASS_HOST_C\r
#include "StillImage.h"\r
\r
-uint8_t SI_Host_ConfigurePipes(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, uint16_t ConfigDescriptorSize,\r
- void* DeviceConfigDescriptor)\r
+uint8_t SImage_Host_ConfigurePipes(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, uint16_t ConfigDescriptorSize,\r
+ void* DeviceConfigDescriptor)\r
{\r
uint8_t FoundEndpoints = 0;\r
\r
return DESCRIPTOR_SEARCH_NotFound;\r
}\r
\r
-void SI_Host_USBTask(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo)\r
+void SImage_Host_USBTask(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo)\r
{\r
\r
}\r
*\r
* \param[in,out] SIInterfaceInfo Pointer to a structure containing a Still Image Class host configuration and state\r
*/\r
- void SI_Host_USBTask(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1);\r
+ void SImage_Host_USBTask(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1);\r
\r
\r
/** Host interface configuration routine, to configure a given Still Image host interface instance using the\r
*\r
* \return A value from the \ref SIHost_EnumerationFailure_ErrorCodes_t enum\r
*/\r
- uint8_t SI_Host_ConfigurePipes(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, uint16_t ConfigDescriptorSize,\r
- void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(3);\r
+ uint8_t SImage_Host_ConfigurePipes(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, uint16_t ConfigDescriptorSize,\r
+ void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(3);\r
\r
/** Opens a new PIMA session with the attached device. This should be used before any session-orientated PIMA commands\r
* are issued to the device. Only one session can be open at the one time.\r
*/\r
\r
/** \ingroup Group_USB\r
- * @defgroup Group_USBMode USB Configuration Tokens\r
+ * @defgroup Group_USBMode USB Mode Tokens\r
*\r
* After the inclusion of the master USB driver header, one or more of the following\r
* tokens may be defined, to allow the user code to conditionally enable or disable\r
* <b>Fixed:</b>\r
* - Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver\r
* - Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt data in the HID Host Parser\r
+ * - Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions\r
*\r
* \section Sec_ChangeLog091122 Version 091122\r
*\r
* areas relevant to making older projects compatible with the API changes of each new release.\r
*\r
* \section Sec_MigrationXXXXXX Migrating from 091122 to XXXXXX\r
- * \r
+ *\r
+ * <b>Host Mode</b>\r
+ * - The Still Image Host Class driver SI_Host_USBTask() and SI_Host_ConfigurePipes() functions were misnamed, and are\r
+ * now named SImage_Host_USBTask() and SImage_Host_ConfigurePipes() respectively.\r
+ *\r
* <b>Device Mode</b>\r
* - The CALLBACK_HID_Device_CreateHIDReport() HID Device Class driver callback now has a new ReportType parameter to\r
* indicate the report type to generate. Existing applications may simply add and ignore this additional parameter.\r
\r
DSTATUS disk_initialize (void)\r
{\r
- DSTATUS stat;\r
-\r
- stat = RES_OK;\r
-\r
- return stat;\r
+ return RES_OK;\r
}\r
\r
\r