X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/663f449c10b9a77a429aaa81066ce2b43ca6dc39..619b0b7b6b44e4422ea9aeb0cde41343bb5dda70:/Demos/Host/StillImageHost/StillImageCommands.c?ds=inline 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, };