aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Host/HIDParser.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-08-31 13:58:03 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-08-31 13:58:03 +0000
commitdac7b046fd5d5c5332ca82cd538dd2c50f9128fd (patch)
tree8de12e9d7093fc800fb1046c568e260c83dcc633 /LUFA/Drivers/USB/Class/Host/HIDParser.h
parentcf2776531c04b0ebe4fdd9d4ef5324dacefd5639 (diff)
downloadlufa-dac7b046fd5d5c5332ca82cd538dd2c50f9128fd.tar.gz
lufa-dac7b046fd5d5c5332ca82cd538dd2c50f9128fd.tar.bz2
lufa-dac7b046fd5d5c5332ca82cd538dd2c50f9128fd.zip
Add return codes to the CDC Host Class driver String/Byte transmission functions.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Host/HIDParser.h')
-rw-r--r--LUFA/Drivers/USB/Class/Host/HIDParser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/HIDParser.h b/LUFA/Drivers/USB/Class/Host/HIDParser.h
index 942fe1177..ec7ff53be 100644
--- a/LUFA/Drivers/USB/Class/Host/HIDParser.h
+++ b/LUFA/Drivers/USB/Class/Host/HIDParser.h
@@ -79,11 +79,11 @@
#if !defined(HID_STATETABLE_STACK_DEPTH) || defined(__DOXYGEN__)
/** Constant indicating the maximum stack depth of the state table. A larger state table
* allows for more PUSH/POP report items to be nested, but consumes more memory. By default
- * this is set to 3 levels (allowing for two PUSHes to be nested) but this can be overridden by
+ * this is set to 2 levels (allowing non-nested PUSH items) but this can be overridden by
* defining HID_STATETABLE_STACK_DEPTH to another value in the user project makefile, passing the
* define to the compiler using the -D compiler switch.
*/
- #define HID_STATETABLE_STACK_DEPTH 3
+ #define HID_STATETABLE_STACK_DEPTH 2
#endif
#if !defined(HID_USAGE_STACK_DEPTH) || defined(__DOXYGEN__)
@@ -134,7 +134,7 @@
HID_PARSE_HIDStackOverflow = 1, /**< More than \ref HID_STATETABLE_STACK_DEPTH nested PUSHes in the report. */
HID_PARSE_HIDStackUnderflow = 2, /**< A POP was found when the state table stack was empty. */
HID_PARSE_InsufficientReportItems = 3, /**< More than \ref HID_MAX_REPORTITEMS report items in the report. */
- HID_PARSE_UnexpectedEndCollection = 4, /**< END COLLECTION found without matching COLLECTION item. */
+ HID_PARSE_UnexpectedEndCollection = 4, /**< An END COLLECTION item found without matching COLLECTION item. */
HID_PARSE_InsufficientCollectionPaths = 5, /**< More than \ref HID_MAX_COLLECTIONS collections in the report. */
HID_PARSE_UsageStackOverflow = 6, /**< More than \ref HID_USAGE_STACK_DEPTH usages listed in a row. */
};