projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Host
/
HIDParser.c
diff --git
a/LUFA/Drivers/USB/Class/Host/HIDParser.c
b/LUFA/Drivers/USB/Class/Host/HIDParser.c
index
5fb29aa
..
7c4983b
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/HIDParser.c
+++ b/
LUFA/Drivers/USB/Class/Host/HIDParser.c
@@
-29,6
+29,7
@@
*/
\r
\r
#include "HIDParser.h"
\r
+#if defined(CAN_BE_HOST)
\r
\r
uint8_t USB_ProcessHIDReport(const uint8_t* ReportData, uint16_t ReportSize, HID_ReportInfo_t* const ParserData)
\r
{
\r
@@
-324,3
+325,5
@@
void USB_SetHIDReportItemInfo(uint8_t* ReportData, const HID_ReportItem_t* Repor
BitMask <<= 1;
\r
}
\r
}
\r
+
\r
+#endif
\r