usbus: Fix usb, initialization and detected spelling mistakes
This commit fixes a number of difficult words in the USB stack and related test files.
This commit is contained in:
parent
063ee3352c
commit
d22ddc1e95
@ -12,10 +12,10 @@
|
|||||||
* @brief initializes USBUS, usb devices and handlers
|
* @brief initializes USBUS, usb devices and handlers
|
||||||
*
|
*
|
||||||
* This auto initialization for USBUS is designed to cover the common use case
|
* This auto initialization for USBUS is designed to cover the common use case
|
||||||
* of a single usb peripheral. An USBUS instance is started with USB function
|
* of a single USB peripheral. An USBUS instance is started with USB function
|
||||||
* handlers based on which module is compiled in.
|
* handlers based on which module is compiled in.
|
||||||
*
|
*
|
||||||
* If this doesn't suit your use case, a different intialization function can
|
* If this doesn't suit your use case, a different initialization function can
|
||||||
* to be created based on this initialization sequence.
|
* to be created based on this initialization sequence.
|
||||||
*
|
*
|
||||||
* @author Koen Zandberg <koen@bergzand.net>
|
* @author Koen Zandberg <koen@bergzand.net>
|
||||||
|
|||||||
@ -180,7 +180,7 @@ void usbus_cdc_acm_init(usbus_t *usbus, usbus_cdcacm_device_t *cdcacm,
|
|||||||
|
|
||||||
static void _init(usbus_t *usbus, usbus_handler_t *handler)
|
static void _init(usbus_t *usbus, usbus_handler_t *handler)
|
||||||
{
|
{
|
||||||
DEBUG("CDC_ACM: intialization\n");
|
DEBUG("CDC_ACM: initialization\n");
|
||||||
usbus_cdcacm_device_t *cdcacm = (usbus_cdcacm_device_t*)handler;
|
usbus_cdcacm_device_t *cdcacm = (usbus_cdcacm_device_t*)handler;
|
||||||
|
|
||||||
cdcacm->flush.handler = _handle_flush;
|
cdcacm->flush.handler = _handle_flush;
|
||||||
|
|||||||
@ -176,7 +176,7 @@ void usbus_cdcecm_init(usbus_t *usbus, usbus_cdcecm_device_t *handler)
|
|||||||
|
|
||||||
static void _init(usbus_t *usbus, usbus_handler_t *handler)
|
static void _init(usbus_t *usbus, usbus_handler_t *handler)
|
||||||
{
|
{
|
||||||
DEBUG("CDC ECM: intialization\n");
|
DEBUG("CDC ECM: initialization\n");
|
||||||
usbus_cdcecm_device_t *cdcecm = (usbus_cdcecm_device_t *)handler;
|
usbus_cdcecm_device_t *cdcecm = (usbus_cdcecm_device_t *)handler;
|
||||||
|
|
||||||
/* Add event handlers */
|
/* Add event handlers */
|
||||||
|
|||||||
@ -6,7 +6,7 @@ board under test and the host computer. Ping to the link local address from and
|
|||||||
to the host computer must work.
|
to the host computer must work.
|
||||||
|
|
||||||
On the host computer, using tools such as `ethtool` must show the USB CDC ECM
|
On the host computer, using tools such as `ethtool` must show the USB CDC ECM
|
||||||
interface as link dectected:
|
interface as link detected:
|
||||||
|
|
||||||
```
|
```
|
||||||
# ethtool enp0s20u9u4
|
# ethtool enp0s20u9u4
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user