From 6553bf5bfb70c26574047b0c4518a024a65b1bc8 Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Fri, 7 Oct 2011 04:38:53 +0000
Subject: [PATCH] Fix incorrect function call name in
 USB_Host_SendControlRequest() for AVR8 devices.

---
 Demos/Device/ClassDriver/RNDISEthernet/Lib/EthernetProtocols.h | 2 +-
 LUFA/Drivers/USB/Core/HostStandardReq.c                        | 2 +-
 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();
-- 
GitLab