diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-04-19 11:43:21 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-04-19 11:43:21 +0000 |
commit | 663f449c10b9a77a429aaa81066ce2b43ca6dc39 (patch) | |
tree | 3a6f06560fa24589836aaf9d2aa8747383913aae /LUFA/Drivers/USB/Class/HIDParser.c | |
parent | 32e735b2b2eefb74e0415a5826692f7ba8c0a984 (diff) | |
download | lufa-663f449c10b9a77a429aaa81066ce2b43ca6dc39.tar.gz lufa-663f449c10b9a77a429aaa81066ce2b43ca6dc39.tar.bz2 lufa-663f449c10b9a77a429aaa81066ce2b43ca6dc39.zip |
Fixed incorrect HID interface class and subclass values in the Mouse and KeyboardMouse demos (thanks to Brian Dickman).
Capitolised the "Descriptor_Search" and "Descriptor_Search_Comp" prefixes of the values in the DSearch_Return_ErrorCodes_t and DSearch_Comp_Return_ErrorCodes_t enums.
Minor documentation improvements.
Diffstat (limited to 'LUFA/Drivers/USB/Class/HIDParser.c')
-rw-r--r-- | LUFA/Drivers/USB/Class/HIDParser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/Class/HIDParser.c b/LUFA/Drivers/USB/Class/HIDParser.c index 35b280b5c..5fb29aa0a 100644 --- a/LUFA/Drivers/USB/Class/HIDParser.c +++ b/LUFA/Drivers/USB/Class/HIDParser.c @@ -30,7 +30,7 @@ #include "HIDParser.h"
-uint8_t ProcessHIDReport(const uint8_t* ReportData, uint16_t ReportSize, HID_ReportInfo_t* const ParserData)
+uint8_t USB_ProcessHIDReport(const uint8_t* ReportData, uint16_t ReportSize, HID_ReportInfo_t* const ParserData)
{
HID_StateTable_t StateTable[HID_STATETABLE_STACK_DEPTH];
HID_StateTable_t* CurrStateTable = &StateTable[0];
@@ -275,7 +275,7 @@ uint8_t ProcessHIDReport(const uint8_t* ReportData, uint16_t ReportSize, HID_Rep return HID_PARSE_Successful;
}
-bool GetReportItemInfo(const uint8_t* ReportData, HID_ReportItem_t* const ReportItem)
+bool USB_GetHIDReportItemInfo(const uint8_t* ReportData, HID_ReportItem_t* const ReportItem)
{
uint16_t DataBitsRem = ReportItem->Attributes.BitSize;
uint16_t CurrentBit = ReportItem->BitOffset;
@@ -303,7 +303,7 @@ bool GetReportItemInfo(const uint8_t* ReportData, HID_ReportItem_t* const Report return true;
}
-void SetReportItemInfo(uint8_t* ReportData, const HID_ReportItem_t* ReportItem)
+void USB_SetHIDReportItemInfo(uint8_t* ReportData, const HID_ReportItem_t* ReportItem)
{
uint16_t DataBitsRem = ReportItem->Attributes.BitSize;
uint16_t CurrentBit = ReportItem->BitOffset;
|