Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices.

This commit is contained in:
Dean Camera 2011-10-07 04:38:53 +00:00
parent 2ae41fb153
commit 6553bf5bfb
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@
/** Type define for a protocol IP address of a device on a network. */
typedef struct
{
uint8_t Octets[4]; /**< Individual bytes of an IP address */
uint8_t Octets[4]; /**< Individual bytes of an IP address */
} IP_Address_t;
#endif

View File

@ -65,7 +65,7 @@ uint8_t USB_Host_SendControlRequest(void* const BufferPtr)
uint8_t* HeaderStream = (uint8_t*)&USB_ControlRequest;
for (uint8_t HeaderByte = 0; HeaderByte < sizeof(USB_Request_Header_t); HeaderByte++)
Pipe_Write_Byte(*(HeaderStream++));
Pipe_Write_8(*(HeaderStream++));
#endif
Pipe_ClearSETUP();