projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add descriptor class, subclass and protocol constants to the class drivers, modify...
[pub/USBasp.git]
/
Demos
/
Host
/
LowLevel
/
KeyboardHostWithParser
/
HIDReport.c
diff --git
a/Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.c
b/Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.c
index
d2dde64
..
1366a1e
100644
(file)
--- a/
Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.c
+++ b/
Demos/Host/LowLevel/KeyboardHostWithParser/HIDReport.c
@@
-51,7
+51,7
@@
uint8_t GetHIDReportData(void)
{
.bmRequestType = (REQDIR_DEVICETOHOST | REQTYPE_STANDARD | REQREC_INTERFACE),
.bRequest = REQ_GetDescriptor,
- .wValue = (DTYPE_Report << 8),
+ .wValue = (
HID_
DTYPE_Report << 8),
.wIndex = 0,
.wLength = HIDReportSize,
};