Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices.
authorDean Camera <dean@fourwalledcubicle.com>
Fri, 7 Oct 2011 04:38:53 +0000 (04:38 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Fri, 7 Oct 2011 04:38:53 +0000 (04:38 +0000)
Demos/Device/ClassDriver/RNDISEthernet/Lib/EthernetProtocols.h
LUFA/Drivers/USB/Core/HostStandardReq.c

index a67aca9..ca76a93 100644 (file)
@@ -85,7 +85,7 @@
                /** Type define for a protocol IP address of a device on a network. */
                typedef struct
                {
                /** 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
                } IP_Address_t;
 
 #endif
index 55fee40..ee5d8cb 100644 (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++)
        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();
        #endif
        
        Pipe_ClearSETUP();