projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add branch for the conversion of demos to use standard C header files for configurati...
[pub/USBasp.git]
/
Demos
/
DualRole
/
ClassDriver
/
MouseHostDevice
/
DeviceFunctions.c
diff --git
a/Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c
b/Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c
index
16fc3fb
..
39a682a
100644
(file)
--- a/
Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c
+++ b/
Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c
@@
-48,11
+48,12
@@
USB_ClassInfo_HID_Device_t Mouse_HID_Device_Interface =
.Config =
{
.InterfaceNumber = 0,
.Config =
{
.InterfaceNumber = 0,
-
- .ReportINEndpointNumber = MOUSE_EPNUM,
- .ReportINEndpointSize = MOUSE_EPSIZE,
- .ReportINEndpointDoubleBank = false,
-
+ .ReportINEndpoint =
+ {
+ .Address = MOUSE_EPADDR,
+ .Size = MOUSE_EPSIZE,
+ .Banks = 1,
+ },
.PrevReportINBuffer = PrevMouseHIDReportBuffer,
.PrevReportINBufferSize = sizeof(PrevMouseHIDReportBuffer),
},
.PrevReportINBuffer = PrevMouseHIDReportBuffer,
.PrevReportINBufferSize = sizeof(PrevMouseHIDReportBuffer),
},