X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/8f6b4ddf764c3a54e42d00a7502c82c5c3e71b1c..ba7cd3f22e0ec8c2fc7fd5dae3620aa75d926fd3:/Demos/Host/StillImageHost/StillImageCommands.c diff --git a/Demos/Host/StillImageHost/StillImageCommands.c b/Demos/Host/StillImageHost/StillImageCommands.c index ebf20b0b2..233e5b116 100644 --- a/Demos/Host/StillImageHost/StillImageCommands.c +++ b/Demos/Host/StillImageHost/StillImageCommands.c @@ -261,15 +261,15 @@ 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, - wLength: 0, + .bmRequestType = (REQDIR_HOSTTODEVICE | REQTYPE_STANDARD | REQREC_ENDPOINT), + .bRequest = REQ_ClearFeature, + .wValue = FEATURE_ENDPOINT_HALT, + .wIndex = EndpointNum, + .wLength = 0, }; /* Select the control pipe for the request transfer */