mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 04:41:28 +00:00
Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices.
This commit is contained in:
parent
2ae41fb153
commit
6553bf5bfb
@ -85,7 +85,7 @@
|
|||||||
/** Type define for a protocol IP address of a device on a network. */
|
/** Type define for a protocol IP address of a device on a network. */
|
||||||
typedef struct
|
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;
|
} IP_Address_t;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -65,7 +65,7 @@ uint8_t USB_Host_SendControlRequest(void* const BufferPtr)
|
|||||||
uint8_t* HeaderStream = (uint8_t*)&USB_ControlRequest;
|
uint8_t* HeaderStream = (uint8_t*)&USB_ControlRequest;
|
||||||
|
|
||||||
for (uint8_t HeaderByte = 0; HeaderByte < sizeof(USB_Request_Header_t); HeaderByte++)
|
for (uint8_t HeaderByte = 0; HeaderByte < sizeof(USB_Request_Header_t); HeaderByte++)
|
||||||
Pipe_Write_Byte(*(HeaderStream++));
|
Pipe_Write_8(*(HeaderStream++));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Pipe_ClearSETUP();
|
Pipe_ClearSETUP();
|
||||||
|
Loading…
Reference in New Issue
Block a user