aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Host/HIDParser.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-09-21 06:08:39 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-09-21 06:08:39 +0000
commit9d6a373cb61b55b94312de3809ac76fcbd0a696c (patch)
tree7dc8388b4f9476a4da3ed53a8406c73bed65cdcc /LUFA/Drivers/USB/Class/Host/HIDParser.h
parent7478b387a96fa1d11e02ee8ee8f5d4c2ed2158d1 (diff)
downloadlufa-9d6a373cb61b55b94312de3809ac76fcbd0a696c.tar.gz
lufa-9d6a373cb61b55b94312de3809ac76fcbd0a696c.tar.bz2
lufa-9d6a373cb61b55b94312de3809ac76fcbd0a696c.zip
Add const qualifiers to Host mode Class drivers.
Fix KeyboardHost ClassDriver demo; boot protocol keyboard report structure in the Host Mode HID Class driver uses the full keycode array from the attached device.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Host/HIDParser.h')
-rw-r--r--LUFA/Drivers/USB/Class/Host/HIDParser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/HIDParser.h b/LUFA/Drivers/USB/Class/Host/HIDParser.h
index 74916dbb6..a2830dd30 100644
--- a/LUFA/Drivers/USB/Class/Host/HIDParser.h
+++ b/LUFA/Drivers/USB/Class/Host/HIDParser.h
@@ -278,8 +278,8 @@
*
* \return Size of the report in bytes, or 0 if the report does not exist
*/
- uint16_t USB_GetHIDReportSize(HID_ReportInfo_t* const ParserData, uint8_t ReportID,
- uint8_t ReportType) ATTR_NON_NULL_PTR_ARG(1);
+ uint16_t USB_GetHIDReportSize(HID_ReportInfo_t* const ParserData, const uint8_t ReportID,
+ const uint8_t ReportType) ATTR_NON_NULL_PTR_ARG(1);
/** Callback routine for the HID Report Parser. This callback <b>must</b> be implemented by the user code when
* the parser is used, to determine what report IN, OUT and FEATURE item's information is stored into the user