Finish initial draft of the Host Mode HID Class driver.
[pub/lufa.git] / LUFA / Drivers / USB / Class / Host / HIDParser.h
index a2830dd..f2cd35b 100644 (file)
                         *  makefile, and passing the define to the compiler using the -D compiler switch. Note that IN, OUT and FEATURE\r
                         *  items sharing the same report ID consume only one size item in the array.\r
                         */\r
-                       #define HID_MAX_REPORT_IDS  5\r
+                       #define HID_MAX_REPORT_IDS            10\r
                #endif\r
 \r
        /* Public Interface - May be used in end-application: */\r
                         *  \return Size of the report in bytes, or 0 if the report does not exist\r
                         */\r
                        uint16_t USB_GetHIDReportSize(HID_ReportInfo_t* const ParserData, const uint8_t ReportID,\r
-                                                     const uint8_t ReportType) ATTR_NON_NULL_PTR_ARG(1);\r
+                                                     const uint8_t ReportType) ATTR_NON_NULL_PTR_ARG(1) ATTR_CONST;\r
 \r
                        /** Callback routine for the HID Report Parser. This callback <b>must</b> be implemented by the user code when\r
                         *  the parser is used, to determine what report IN, OUT and FEATURE item's information is stored into the user\r