projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add optional double-banking support to the Device mode Class Drivers, on a per-endpoi...
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
Keyboard
/
Keyboard.c
diff --git
a/Demos/Device/ClassDriver/Keyboard/Keyboard.c
b/Demos/Device/ClassDriver/Keyboard/Keyboard.c
index
e609d7a
..
ea373a8
100644
(file)
--- a/
Demos/Device/ClassDriver/Keyboard/Keyboard.c
+++ b/
Demos/Device/ClassDriver/Keyboard/Keyboard.c
@@
-48,13
+48,14
@@
USB_ClassInfo_HID_Device_t Keyboard_HID_Interface =
{
\r
.Config =
\r
{
\r
{
\r
.Config =
\r
{
\r
- .InterfaceNumber = 0,
\r
+ .InterfaceNumber
= 0,
\r
\r
\r
- .ReportINEndpointNumber = KEYBOARD_EPNUM,
\r
- .ReportINEndpointSize = KEYBOARD_EPSIZE,
\r
+ .ReportINEndpointNumber = KEYBOARD_EPNUM,
\r
+ .ReportINEndpointSize = KEYBOARD_EPSIZE,
\r
+ .ReportINEndpointDoubleBank = false,
\r
\r
\r
- .PrevReportINBuffer = PrevKeyboardHIDReportBuffer,
\r
- .PrevReportINBufferSize = sizeof(PrevKeyboardHIDReportBuffer),
\r
+ .PrevReportINBuffer
= PrevKeyboardHIDReportBuffer,
\r
+ .PrevReportINBufferSize
= sizeof(PrevKeyboardHIDReportBuffer),
\r
},
\r
};
\r
\r
},
\r
};
\r
\r