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
/
HostFunctions.c
diff --git
a/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
b/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
index
a71e85b
..
29def30
100644
(file)
--- a/
Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
+++ b/
Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
@@
-44,9
+44,16
@@
USB_ClassInfo_HID_Host_t Mouse_HID_Host_Interface =
{
.Config =
{
{
.Config =
{
- .DataINPipeNumber = 1,
- .DataOUTPipeNumber = 2,
-
+ .DataINPipe =
+ {
+ .Address = (PIPE_DIR_IN | 1),
+ .Banks = 1,
+ },
+ .DataINPipe =
+ {
+ .Address = (PIPE_DIR_OUT | 2),
+ .Banks = 1,
+ },
.HIDInterfaceProtocol = HID_CSCP_MouseBootProtocol,
},
};
.HIDInterfaceProtocol = HID_CSCP_MouseBootProtocol,
},
};