Added const attributes to some of the class driver function parameters that were missing it.

This commit is contained in:
Dean Camera 2010-07-13 10:01:13 +00:00
parent 3a3a4e2abf
commit 0313034245
36 changed files with 63 additions and 61 deletions

View file

@ -371,7 +371,7 @@ uint8_t SImage_Host_CloseSession(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo)
}
uint8_t SImage_Host_SendCommand(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, const uint16_t Operation,
const uint8_t TotalParams, uint32_t* Params)
const uint8_t TotalParams, uint32_t* const Params)
{
if ((USB_HostState != HOST_STATE_Configured) || !(SIInterfaceInfo->State.IsActive))
return HOST_SENDCONTROL_DeviceDisconnected;