Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction on the configuration order instead to ensure maximum reliability.
Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
This commit is contained in:
@@ -43,15 +43,15 @@
|
||||
#include <LUFA/Drivers/USB/USB.h>
|
||||
|
||||
/* Macros: */
|
||||
/** Endpoint number of the TMC notification IN endpoint. */
|
||||
#define TMC_NOTIFICATION_EPNUM 2
|
||||
|
||||
/** Endpoint number of the TMC device-to-host data IN endpoint. */
|
||||
#define TMC_IN_EPNUM 3
|
||||
|
||||
/** Endpoint number of the TMC host-to-device data OUT endpoint. */
|
||||
#define TMC_OUT_EPNUM 4
|
||||
|
||||
/** Endpoint number of the TMC notification IN endpoint. */
|
||||
#define TMC_NOTIFICATION_EPNUM 2
|
||||
|
||||
/** Size in bytes of the TMC data endpoints. */
|
||||
#define TMC_IO_EPSIZE 64
|
||||
|
||||
|
||||
Reference in New Issue
Block a user