From: Dean Camera Date: Fri, 7 Oct 2011 04:38:53 +0000 (+0000) Subject: Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices. X-Git-Tag: LUFA-111009~5 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/6553bf5bfb70c26574047b0c4518a024a65b1bc8?ds=sidebyside Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices. --- diff --git a/Demos/Device/ClassDriver/RNDISEthernet/Lib/EthernetProtocols.h b/Demos/Device/ClassDriver/RNDISEthernet/Lib/EthernetProtocols.h index a67aca900..ca76a9392 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/Lib/EthernetProtocols.h +++ b/Demos/Device/ClassDriver/RNDISEthernet/Lib/EthernetProtocols.h @@ -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 diff --git a/LUFA/Drivers/USB/Core/HostStandardReq.c b/LUFA/Drivers/USB/Core/HostStandardReq.c index 55fee404b..ee5d8cb42 100644 --- a/LUFA/Drivers/USB/Core/HostStandardReq.c +++ b/LUFA/Drivers/USB/Core/HostStandardReq.c @@ -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();