Remove USB_MODE_* macros, replace with a semantically linked USB_Modes_t enum.
authorDean Camera <dean@fourwalledcubicle.com>
Tue, 12 Oct 2010 12:22:11 +0000 (12:22 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Tue, 12 Oct 2010 12:22:11 +0000 (12:22 +0000)
commit7aaced1e8bc81ebbf0a1f06fc443ea4707edd1dd
tree22251cc704e7d6c209e529727910838f0705145e
parentc1cfffd8eb92aedde76439afa30d8584c4c60043
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().
Demos/DualRole/ClassDriver/MouseHostDevice/MouseHostDevice.c
LUFA/Drivers/USB/HighLevel/USBTask.c
LUFA/Drivers/USB/LowLevel/Endpoint.h
LUFA/Drivers/USB/LowLevel/Host.c
LUFA/Drivers/USB/LowLevel/Host.h
LUFA/Drivers/USB/LowLevel/OTG.h
LUFA/Drivers/USB/LowLevel/Pipe.h
LUFA/Drivers/USB/LowLevel/USBController.c
LUFA/Drivers/USB/LowLevel/USBController.h
LUFA/ManPages/ChangeLog.txt
LUFA/ManPages/MigrationInformation.txt