Skip to content
Snippets Groups Projects
Commit 5c3b309f authored by patacongo's avatar patacongo
Browse files

typos

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3238 42af7a65-404d-4744-a932-0658087f49c3
parent 727daee0
No related branches found
No related tags found
No related merge requests found
......@@ -2163,7 +2163,7 @@ extern void up_ledoff(int led);
<b>USB Host Class Driver Registry</b>.
The NuttX USB host infrastructure includes a <i>registry</i>.
During its initialization, each USB host class driver must call the interface, <code>usbhost_registerclass()</code>
in order add its interface to the register.
in order add its interface to the registery.
Later, when a USB device is connected, the USB host controller will look up the USB host class driver that is needed to support the connected device in this registry.
</p>
<p>
......@@ -2196,9 +2196,9 @@ extern void up_ledoff(int led);
As part of this enumeration process, the driver will
(1) get the device's configuration descriptor,
(2) extract the class ID info from the configuration descriptor,
(3) call usbhost_findclass() to find the class that supports this device,
(4) call the create() method on the struct usbhost_registry_s interface to get a class instance, and
finally (5) call the connect() method of the struct usbhost_class_s interface.
(3) call <code>usbhost_findclass(</code>) to find the class that supports this device,
(4) call the <code>create()</code> method on the <code>struct usbhost_registry_s interface</code> to get a class instance, and
finally (5) call the <code>connect()</code> method of the <code>struct usbhost_class_s</code> interface.
After that, the class is in charge of the sequence of operations.
</p>
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment