projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add double banking property to LUFA powered projects in the Projects directory. Add...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Device
/
HID.c
diff --git
a/LUFA/Drivers/USB/Class/Device/HID.c
b/LUFA/Drivers/USB/Class/Device/HID.c
index
0bf1f70
..
a9f1c9c
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Device/HID.c
+++ b/
LUFA/Drivers/USB/Class/Device/HID.c
@@
-95,7
+95,7
@@
void HID_Device_ProcessControlRequest(USB_ClassInfo_HID_Device_t* const HIDInter
{
\r
Endpoint_ClearSETUP();
\r
\r
{
\r
Endpoint_ClearSETUP();
\r
\r
- HIDInterfaceInfo->State.UsingReportProtocol = (
USB_ControlRequest.wValue != 0x00
00);
\r
+ HIDInterfaceInfo->State.UsingReportProtocol = (
(USB_ControlRequest.wValue & 0xFF) != 0x
00);
\r
\r
Endpoint_ClearStatusStage();
\r
}
\r
\r
Endpoint_ClearStatusStage();
\r
}
\r