From 9d6a373cb61b55b94312de3809ac76fcbd0a696c Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 21 Sep 2009 06:08:39 +0000 Subject: 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. --- LUFA/Drivers/USB/Class/Host/HIDParser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LUFA/Drivers/USB/Class/Host/HIDParser.h') 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 must 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 -- cgit v1.2.3