aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/HighLevel
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-09-17 13:12:21 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-09-17 13:12:21 +0000
commit7c6b2019a302fb064665c1a69e559678c299e9bb (patch)
treef9348ddac5fe0b45fa687df5941d391e91715326 /LUFA/Drivers/USB/HighLevel
parenteaa914a4e445c25ffdbee7be7caf85165540c98a (diff)
downloadlufa-7c6b2019a302fb064665c1a69e559678c299e9bb.tar.gz
lufa-7c6b2019a302fb064665c1a69e559678c299e9bb.tar.bz2
lufa-7c6b2019a302fb064665c1a69e559678c299e9bb.zip
Fix Mass Storage Host Class driver GetMaxLUN command - incorrect function return codes used in comparison to check for success.
Add HID Host Class driver functions to set the report protocol, add more class driver documentation.
Diffstat (limited to 'LUFA/Drivers/USB/HighLevel')
-rw-r--r--LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h b/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
index be24debba..c0ebe0956 100644
--- a/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
+++ b/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
@@ -155,6 +155,7 @@
uint8_t USB_GetNextDescriptorComp(uint16_t* BytesRem, uint8_t** CurrConfigLoc, ConfigComparatorPtr_t ComparatorRoutine);
/* Enums: */
+ /** Enum for the possible return codes of the \ref USB_GetDeviceConfigDescriptor() function. */
enum USB_Host_GetConfigDescriptor_ErrorCodes_t
{
HOST_GETCONFIG_Successful = 0, /**< No error occurred while retrieving the configuration descriptor */