Add checks to the endpoint and pipe configure functions and fail if the requested...
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 10 Jun 2012 19:53:20 +0000 (19:53 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 10 Jun 2012 19:53:20 +0000 (19:53 +0000)
commitc41bbf9fccd99de70c962ec6f7cac15efe06d3df
tree05918c6da856132fe8a38324fc7a3cd88db14b63
parent9ab445518a01e9b10b5d3e1c99f45d81d874278b
Add checks to the endpoint and pipe configure functions and fail if the requested endpoint or pipe number is above the maximum for that device.
LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h
LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c
LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h
LUFA/Drivers/USB/Core/UC3/Pipe_UC3.c
LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h
LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.c