From: Dean Camera Date: Tue, 12 Oct 2010 12:22:11 +0000 (+0000) Subject: Remove USB_MODE_* macros, replace with a semantically linked USB_Modes_t enum. X-Git-Tag: LUFA-110528-BETA~205 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/7aaced1e8bc81ebbf0a1f06fc443ea4707edd1dd?hp=7aaced1e8bc81ebbf0a1f06fc443ea4707edd1dd 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(). ---