git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USB - Updated code to use endpoint registration
[tpg/acess2.git]
/
KernelLand
/
Modules
/
USB
/
Core
/
usb.c
diff --git
a/KernelLand/Modules/USB/Core/usb.c
b/KernelLand/Modules/USB/Core/usb.c
index
e20f53c
..
ab2427a
100644
(file)
--- a/
KernelLand/Modules/USB/Core/usb.c
+++ b/
KernelLand/Modules/USB/Core/usb.c
@@
-43,6
+43,7
@@
tUSBHub *USB_RegisterHost(tUSBHostDef *HostDef, void *ControllerPtr, int nPorts)
host->RootHubDev.ParentHub = NULL;
host->RootHubDev.Host = host;
host->RootHubDev.Address = 0;
+ host->RootHubDev.EndpointHandles[0] = HostDef->InitControl(ControllerPtr, 0);
// host->RootHubIf.Next = NULL;
host->RootHubIf.Dev = &host->RootHubDev;
UCC
git Repository :: git.ucc.asn.au