X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/28401f7bb749350a66ebe95649d01a25c01842f7..a8871c7fba73307226bd13e2cad4c840c850e6f1:/Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.c diff --git a/Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.c b/Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.c index edf56180e..64cfc3ce6 100644 --- a/Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.c +++ b/Demos/Host/LowLevel/RNDISEthernetHost/Lib/RNDISCommands.c @@ -122,7 +122,7 @@ uint8_t RNDIS_SendKeepAlive(void) return HOST_SENDCONTROL_Successful; } -/** Initializes the attached RNDIS device's RNDIS interface. +/** Initialises the attached RNDIS device's RNDIS interface. * * \param[in] HostMaxPacketSize Size of the packet buffer on the host * \param[out] DeviceMaxPacketSize Pointer to where the packet buffer size of the device is to be stored @@ -281,7 +281,7 @@ uint8_t RNDIS_GetPacketLength(uint16_t* const PacketLength) { uint8_t ErrorCode; - Pipe_SelectPipe(RNDIS_DATAPIPE_IN); + Pipe_SelectPipe(RNDIS_DATA_IN_PIPE); Pipe_SetPipeToken(PIPE_TOKEN_IN); Pipe_Unfreeze();