diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-21 06:08:39 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-21 06:08:39 +0000 |
commit | 9d6a373cb61b55b94312de3809ac76fcbd0a696c (patch) | |
tree | 7dc8388b4f9476a4da3ed53a8406c73bed65cdcc /LUFA/Drivers/USB/Class/Host/HIDParser.c | |
parent | 7478b387a96fa1d11e02ee8ee8f5d4c2ed2158d1 (diff) | |
download | lufa-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.c')
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/HIDParser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/HIDParser.c b/LUFA/Drivers/USB/Class/Host/HIDParser.c index 6c315da7a..b302a94b4 100644 --- a/LUFA/Drivers/USB/Class/Host/HIDParser.c +++ b/LUFA/Drivers/USB/Class/Host/HIDParser.c @@ -342,7 +342,7 @@ void USB_SetHIDReportItemInfo(uint8_t* ReportData, const HID_ReportItem_t* Repor }
}
-uint16_t USB_GetHIDReportSize(HID_ReportInfo_t* const ParserData, uint8_t ReportID, uint8_t ReportType)
+uint16_t USB_GetHIDReportSize(HID_ReportInfo_t* const ParserData, const uint8_t ReportID, const uint8_t ReportType)
{
for (uint8_t i = 0; i < HID_MAX_REPORT_IDS; i++)
{
|