From 0d57659fa67f7122155a2e0ecfa0e96c51320f73 Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Wed, 15 Sep 2010 10:47:22 +0000
Subject: [PATCH] Fix incorrect documentation on the Get Descriptor standard
 request.

---
 LUFA/Drivers/USB/HighLevel/StdRequestType.h | 10 ++++++----
 LUFA/ManPages/ChangeLog.txt                 |  2 +-
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/LUFA/Drivers/USB/HighLevel/StdRequestType.h b/LUFA/Drivers/USB/HighLevel/StdRequestType.h
index f8e4f45f4..abb5431f7 100644
--- a/LUFA/Drivers/USB/HighLevel/StdRequestType.h
+++ b/LUFA/Drivers/USB/HighLevel/StdRequestType.h
@@ -143,14 +143,14 @@
 			 *  should have its stall condition cleared. If used in a similar manner inside a Set Feature
 			 *  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
 			 *  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
 			 *  request, this re-enabled the remote wakeup feature on the device.
 			 */
-			#define FEATURE_REMOTE_WAKEUP           0x01
+			#define FEATURE_REMOTE_WAKEUP      0x01
 
 		/* Type Defines: */
 			/** \brief Standard USB Control Request
@@ -193,8 +193,10 @@
 				                              *   to the user application for other recipients via the
 				                              *   \ref EVENT_USB_Device_UnhandledControlRequest() event when received in
 				                              *   device mode. */
-				REQ_GetDescriptor       = 6, /**< Implemented in the library for all recipients and all request
-				                              *   types. */
+				REQ_GetDescriptor       = 6, /**< Implemented in the library for device and interface recipients. Passed to the
+				                              *   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
 				                              *   via the \ref EVENT_USB_Device_UnhandledControlRequest() event when received in
 				                              *   device mode. */
diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt
index 37438e755..704f93e28 100644
--- a/LUFA/ManPages/ChangeLog.txt
+++ b/LUFA/ManPages/ChangeLog.txt
@@ -40,7 +40,7 @@
   *  - 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
   *    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>
   *  - Fixed USB_GetHIDReportItemInfo() function modifying the given report item's data when the report item does not exist
-- 
GitLab