Add return codes to the CDC Host Class driver String/Byte transmission functions.
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Host / HIDParser.h
index 942fe11..ec7ff53 100644 (file)
                #if !defined(HID_STATETABLE_STACK_DEPTH) || defined(__DOXYGEN__)\r
                        /** Constant indicating the maximum stack depth of the state table. A larger state table\r
                         *  allows for more PUSH/POP report items to be nested, but consumes more memory. By default\r
-                        *  this is set to 3 levels (allowing for two PUSHes to be nested) but this can be overridden by\r
+                        *  this is set to 2 levels (allowing non-nested PUSH items) but this can be overridden by\r
                         *  defining HID_STATETABLE_STACK_DEPTH to another value in the user project makefile, passing the\r
                         *  define to the compiler using the -D compiler switch.\r
                         */\r
-                       #define HID_STATETABLE_STACK_DEPTH    3\r
+                       #define HID_STATETABLE_STACK_DEPTH    2\r
                #endif\r
                \r
                #if !defined(HID_USAGE_STACK_DEPTH) || defined(__DOXYGEN__)\r
                                HID_PARSE_HIDStackOverflow            = 1, /**< More than \ref HID_STATETABLE_STACK_DEPTH nested PUSHes in the report. */ \r
                                HID_PARSE_HIDStackUnderflow           = 2, /**< A POP was found when the state table stack was empty. */\r
                                HID_PARSE_InsufficientReportItems     = 3, /**< More than \ref HID_MAX_REPORTITEMS report items in the report. */\r
-                               HID_PARSE_UnexpectedEndCollection     = 4, /**< END COLLECTION found without matching COLLECTION item. */\r
+                               HID_PARSE_UnexpectedEndCollection     = 4, /**< An END COLLECTION item found without matching COLLECTION item. */\r
                                HID_PARSE_InsufficientCollectionPaths = 5, /**< More than \ref HID_MAX_COLLECTIONS collections in the report. */\r
                                HID_PARSE_UsageStackOverflow          = 6, /**< More than \ref HID_USAGE_STACK_DEPTH usages listed in a row. */\r
                        };\r