Fix incorrect documentation on the Get Descriptor standard request.

pull/1469/head
Dean Camera 14 years ago
parent 6d2f091cec
commit 0d57659fa6

@ -143,14 +143,14 @@
* should have its stall condition cleared. If used in a similar manner inside a Set Feature * should have its stall condition cleared. If used in a similar manner inside a Set Feature
* request, this stalls an endpoint. * request, this stalls an endpoint.
*/ */
#define FEATURE_ENDPOINT_HALT 0x00 #define FEATURE_ENDPOINT_HALT 0x00
/** Feature indicator for Clear Feature or Set Feature commands. When used in a Clear Feature /** Feature indicator for Clear Feature or Set Feature commands. When used in a Clear Feature
* request this indicates that the remote wakeup enabled device should not issue remote * request this indicates that the remote wakeup enabled device should not issue remote
* wakeup requests until further notice. If used in a similar manner inside a Set Feature * wakeup requests until further notice. If used in a similar manner inside a Set Feature
* request, this re-enabled the remote wakeup feature on the device. * request, this re-enabled the remote wakeup feature on the device.
*/ */
#define FEATURE_REMOTE_WAKEUP 0x01 #define FEATURE_REMOTE_WAKEUP 0x01
/* Type Defines: */ /* Type Defines: */
/** \brief Standard USB Control Request /** \brief Standard USB Control Request
@ -193,8 +193,10 @@
* to the user application for other recipients via the * to the user application for other recipients via the
* \ref EVENT_USB_Device_UnhandledControlRequest() event when received in * \ref EVENT_USB_Device_UnhandledControlRequest() event when received in
* device mode. */ * device mode. */
REQ_GetDescriptor = 6, /**< Implemented in the library for all recipients and all request REQ_GetDescriptor = 6, /**< Implemented in the library for device and interface recipients. Passed to the
* types. */ * user application for other recipients via the
* \ref EVENT_USB_Device_UnhandledControlRequest() event when received in
* device mode. */
REQ_SetDescriptor = 7, /**< Not implemented in the library, passed to the user application REQ_SetDescriptor = 7, /**< Not implemented in the library, passed to the user application
* via the \ref EVENT_USB_Device_UnhandledControlRequest() event when received in * via the \ref EVENT_USB_Device_UnhandledControlRequest() event when received in
* device mode. */ * device mode. */

@ -40,7 +40,7 @@
* - Reduced HOST_DEVICE_SETTLE_DELAY_MS to 1000ms down from 1500ms to improve device compatibility while in USB Host mode * - Reduced HOST_DEVICE_SETTLE_DELAY_MS to 1000ms down from 1500ms to improve device compatibility while in USB Host mode
* - Changed over all demos, drivers and internal functions to use the current frame number over the Start of Frame flag where possible * - Changed over all demos, drivers and internal functions to use the current frame number over the Start of Frame flag where possible
* to free up the Start of Frame flag for interrupt use in the user application * to free up the Start of Frame flag for interrupt use in the user application
* - All project makefiles now correctly clean intermeditary build files from assembly and C++ sources (thanks to Daniel Czigany) * - All project makefiles now correctly clean intermediate build files from assembly and C++ sources (thanks to Daniel Czigany)
* *
* <b>Fixed:</b> * <b>Fixed:</b>
* - Fixed USB_GetHIDReportItemInfo() function modifying the given report item's data when the report item does not exist * - Fixed USB_GetHIDReportItemInfo() function modifying the given report item's data when the report item does not exist

Loading…
Cancel
Save