diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-10-12 12:22:11 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-10-12 12:22:11 +0000 |
commit | 7aaced1e8bc81ebbf0a1f06fc443ea4707edd1dd (patch) | |
tree | 22251cc704e7d6c209e529727910838f0705145e /LUFA/Drivers/USB/LowLevel/Host.h | |
parent | c1cfffd8eb92aedde76439afa30d8584c4c60043 (diff) | |
download | lufa-7aaced1e8bc81ebbf0a1f06fc443ea4707edd1dd.tar.gz lufa-7aaced1e8bc81ebbf0a1f06fc443ea4707edd1dd.tar.bz2 lufa-7aaced1e8bc81ebbf0a1f06fc443ea4707edd1dd.zip |
Remove USB_MODE_* macros, replace with a semantically linked USB_Modes_t enum.
Moved the USB device selection logic for ENDPOINT_TOTAL_ENDPOINTS further up in Endpoint.h to where the endpoint bank capabilities are determined, to reduce the total number of device-specific logic.
Change USB_Host_WaitMS() to test and disable the HSOFI interrupt before resuming the bus, so that it does not fire before the delay loop has run.
Add missing const qualifier to the parameter of USB_Host_ClearPipeStall().
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Host.h')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Host.h b/LUFA/Drivers/USB/LowLevel/Host.h index b11883974..1e28b903e 100644 --- a/LUFA/Drivers/USB/LowLevel/Host.h +++ b/LUFA/Drivers/USB/LowLevel/Host.h @@ -435,7 +435,7 @@ * * \return A value from the \ref USB_Host_SendControlErrorCodes_t enum to indicate the result. */ - uint8_t USB_Host_ClearPipeStall(uint8_t EndpointIndex); + uint8_t USB_Host_ClearPipeStall(const uint8_t EndpointIndex); /* Private Interface - For use in library only: */ #if !defined(__DOXYGEN__) |