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
/
Mouse
/
Mouse.c
diff --git
a/Demos/Device/ClassDriver/Mouse/Mouse.c
b/Demos/Device/ClassDriver/Mouse/Mouse.c
index
d54aecf
..
c53d429
100644
(file)
--- a/
Demos/Device/ClassDriver/Mouse/Mouse.c
+++ b/
Demos/Device/ClassDriver/Mouse/Mouse.c
@@
-47,13
+47,14
@@
USB_ClassInfo_HID_Device_t Mouse_HID_Interface =
{
\r
.Config =
\r
{
\r
{
\r
.Config =
\r
{
\r
- .InterfaceNumber = 0,
\r
+ .InterfaceNumber
= 0,
\r
\r
\r
- .ReportINEndpointNumber = MOUSE_EPNUM,
\r
- .ReportINEndpointSize = MOUSE_EPSIZE,
\r
+ .ReportINEndpointNumber = MOUSE_EPNUM,
\r
+ .ReportINEndpointSize = MOUSE_EPSIZE,
\r
+ .ReportINEndpointDoubleBank = false,
\r
\r
\r
- .PrevReportINBuffer = PrevMouseHIDReportBuffer,
\r
- .PrevReportINBufferSize = sizeof(PrevMouseHIDReportBuffer),
\r
+ .PrevReportINBuffer
= PrevMouseHIDReportBuffer,
\r
+ .PrevReportINBufferSize
= sizeof(PrevMouseHIDReportBuffer),
\r
},
\r
};
\r
\r
},
\r
};
\r
\r