aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/StillImageHost
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Host/StillImageHost')
-rw-r--r--Demos/Host/StillImageHost/StillImageCommands.c4
-rw-r--r--Demos/Host/StillImageHost/StillImageCommands.h2
-rw-r--r--Demos/Host/StillImageHost/StillImageHost.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/Demos/Host/StillImageHost/StillImageCommands.c b/Demos/Host/StillImageHost/StillImageCommands.c
index ebf20b0b2..a12785743 100644
--- a/Demos/Host/StillImageHost/StillImageCommands.c
+++ b/Demos/Host/StillImageHost/StillImageCommands.c
@@ -261,14 +261,14 @@ bool SImage_IsEventReceived(void)
*
* \return A value from the USB_Host_SendControlErrorCodes_t enum
*/
-uint8_t SImage_ClearPipeStall(const uint8_t PipeEndpointNum)
+uint8_t SImage_ClearPipeStall(const uint8_t EndpointNum)
{
USB_HostRequest = (USB_Host_Request_Header_t)
{
bmRequestType: (REQDIR_HOSTTODEVICE | REQTYPE_STANDARD | REQREC_ENDPOINT),
bRequest: REQ_ClearFeature,
wValue: FEATURE_ENDPOINT_HALT,
- wIndex: PipeEndpointNum,
+ wIndex: EndpointNum,
wLength: 0,
};
diff --git a/Demos/Host/StillImageHost/StillImageCommands.h b/Demos/Host/StillImageHost/StillImageCommands.h
index 38bbadf70..ad0ba55a2 100644
--- a/Demos/Host/StillImageHost/StillImageCommands.h
+++ b/Demos/Host/StillImageHost/StillImageCommands.h
@@ -105,6 +105,6 @@
void SImage_SendData(void* Buffer, uint16_t Bytes);
uint8_t SImage_ReadData(void* Buffer, uint16_t Bytes);
bool SImage_IsEventReceived(void);
- uint8_t SImage_ClearPipeStall(const uint8_t PipeEndpointNum);
+ uint8_t SImage_ClearPipeStall(const uint8_t EndpointNum);
#endif
diff --git a/Demos/Host/StillImageHost/StillImageHost.c b/Demos/Host/StillImageHost/StillImageHost.c
index d9dd7ce3f..3e5bf6a78 100644
--- a/Demos/Host/StillImageHost/StillImageHost.c
+++ b/Demos/Host/StillImageHost/StillImageHost.c
@@ -417,7 +417,7 @@ void UpdateStatus(uint8_t CurrentStatus)
/** Displays a PIMA command error via the device's serial port.
*
* \param ErrorCode Error code of the function which failed to complete successfully
- * \param ResponseErrorCode Indicates if the error is due to a command failed indication from the device, or a communication failure
+ * \param ResponseCodeError Indicates if the error is due to a command failed indication from the device, or a communication failure
*/
void ShowCommandError(uint8_t ErrorCode, bool ResponseCodeError)
{