aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-10-07 04:38:53 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-10-07 04:38:53 +0000
commit6553bf5bfb70c26574047b0c4518a024a65b1bc8 (patch)
treeff9e9c5e2a1e64c67ddff3aa2f8190c598109eb4
parent2ae41fb15322c92e4cbb7578c1fac23904f1209e (diff)
downloadlufa-6553bf5bfb70c26574047b0c4518a024a65b1bc8.tar.gz
lufa-6553bf5bfb70c26574047b0c4518a024a65b1bc8.tar.bz2
lufa-6553bf5bfb70c26574047b0c4518a024a65b1bc8.zip
Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices.
-rw-r--r--Demos/Device/ClassDriver/RNDISEthernet/Lib/EthernetProtocols.h2
-rw-r--r--LUFA/Drivers/USB/Core/HostStandardReq.c2
2 files changed, 2 insertions, 2 deletions
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();