Add const attribute to class driver APIs.
Add new manual pages detailing the advantages of LUFA over the official Atmel USB AVR stack, and reasons why LUFA should be used over a built-from-scratch USB stack.
This commit is contained in:
parent
de8c9445d4
commit
870591983c
17 changed files with 132 additions and 44 deletions
|
|
@ -312,7 +312,7 @@ uint8_t USB_Host_GetDeviceDescriptor(void* const DeviceDescriptorPtr)
|
|||
uint8_t USB_Host_ClearPipeStall(uint8_t EndpointNum)
|
||||
{
|
||||
if (Pipe_GetPipeToken() == PIPE_TOKEN_IN)
|
||||
EndpointNum |= (1 << 7);
|
||||
EndpointNum |= ENDPOINT_DESCRIPTOR_DIR_IN;
|
||||
|
||||
USB_ControlRequest = (USB_Request_Header_t)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue