mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:32:47 +08:00
Fix more common typos
This commit is contained in:
@@ -683,7 +683,7 @@ static const struct usbdev_ops_s g_devops =
|
||||
.pullup = efm32_pullup,
|
||||
};
|
||||
|
||||
/* Device error strings that may be enabled for more desciptive USB trace
|
||||
/* Device error strings that may be enabled for more descriptive USB trace
|
||||
* output.
|
||||
*/
|
||||
|
||||
@@ -725,7 +725,7 @@ const struct trace_msg_t g_usb_trace_strings_deverror[] =
|
||||
};
|
||||
#endif
|
||||
|
||||
/* Interrupt event strings that may be enabled for more desciptive USB trace
|
||||
/* Interrupt event strings that may be enabled for more descriptive USB trace
|
||||
* output.
|
||||
*/
|
||||
|
||||
|
||||
@@ -191,14 +191,14 @@ struct kinetis_driver_s
|
||||
#endif
|
||||
|
||||
/* The DMA descriptors. A unaligned uint8_t is used to allocate the
|
||||
* memory; 16 is added to assure that we can meet the desciptor alignment
|
||||
* memory; 16 is added to assure that we can meet the descriptor alignment
|
||||
* requirements.
|
||||
*/
|
||||
|
||||
uint8_t desc[NENET_NBUFFERS * sizeof(struct enet_desc_s) + 16];
|
||||
|
||||
/* The DMA buffers. Again, A unaligned uint8_t is used to allocate the
|
||||
* memory; 16 is added to assure that we can meet the desciptor alignment
|
||||
* memory; 16 is added to assure that we can meet the descriptor alignment
|
||||
* requirements.
|
||||
*/
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
|
||||
/* USB RAM ********************************************************************
|
||||
*
|
||||
* UBS_UDCA is is list of 32 pointers to DMA desciptors located at the
|
||||
* UBS_UDCA is is list of 32 pointers to DMA descriptors located at the
|
||||
* beginning of USB RAM. Each pointer points to a DMA descriptor with
|
||||
* assocated DMA buffer.
|
||||
*/
|
||||
|
||||
@@ -500,7 +500,7 @@ static const struct usb_epdesc_s g_ep0desc =
|
||||
.interval = 0
|
||||
};
|
||||
|
||||
/* Device error strings that may be enabled for more desciptive USB trace
|
||||
/* Device error strings that may be enabled for more descriptive USB trace
|
||||
* output.
|
||||
*/
|
||||
|
||||
@@ -540,7 +540,7 @@ const struct trace_msg_t g_usb_trace_strings_deverror[] =
|
||||
};
|
||||
#endif
|
||||
|
||||
/* Interrupt event strings that may be enabled for more desciptive USB trace
|
||||
/* Interrupt event strings that may be enabled for more descriptive USB trace
|
||||
* output.
|
||||
*/
|
||||
|
||||
|
||||
@@ -555,7 +555,7 @@ static const struct usb_epdesc_s g_ep0desc =
|
||||
|
||||
#ifdef CONFIG_SAMA5_UDPHS_SCATTERGATHER
|
||||
#ifdef CONFIG_SAMA5_UDPHS_PREALLOCATE
|
||||
/* This is a properly aligned pool of preallocated DMA transfer desciptors */
|
||||
/* This is a properly aligned pool of preallocated DMA transfer descriptors */
|
||||
|
||||
static struct sam_dtd_s g_dtdpool[CONFIG_SAMA5_UDPHS_NDTDS]
|
||||
__attribute__ ((aligned(16)));
|
||||
@@ -563,7 +563,7 @@ static struct sam_dtd_s g_dtdpool[CONFIG_SAMA5_UDPHS_NDTDS]
|
||||
#endif
|
||||
|
||||
|
||||
/* Device error strings that may be enabled for more desciptive USB trace
|
||||
/* Device error strings that may be enabled for more descriptive USB trace
|
||||
* output.
|
||||
*/
|
||||
|
||||
@@ -604,7 +604,7 @@ const struct trace_msg_t g_usb_trace_strings_deverror[] =
|
||||
};
|
||||
#endif
|
||||
|
||||
/* Interrupt event strings that may be enabled for more desciptive USB trace
|
||||
/* Interrupt event strings that may be enabled for more descriptive USB trace
|
||||
* output.
|
||||
*/
|
||||
|
||||
|
||||
@@ -1915,7 +1915,7 @@ static void stm32_txdone(FAR struct stm32_ethmac_s *priv)
|
||||
{
|
||||
DEBUGASSERT(priv->txtail != NULL);
|
||||
|
||||
/* Scan the TX desciptor change, returning buffers to free list */
|
||||
/* Scan the TX descriptor change, returning buffers to free list */
|
||||
|
||||
stm32_freeframe(priv);
|
||||
|
||||
|
||||
@@ -2042,7 +2042,7 @@ static void stm32_txdone(struct stm32_ethmac_s *priv)
|
||||
{
|
||||
DEBUGASSERT(priv->txtail != NULL);
|
||||
|
||||
/* Scan the TX desciptor change, returning buffers to free list */
|
||||
/* Scan the TX descriptor change, returning buffers to free list */
|
||||
|
||||
stm32_freeframe(priv);
|
||||
|
||||
|
||||
@@ -1005,7 +1005,7 @@ static struct pic32mx_rxdesc_s *pic32mx_rxdesc(struct pic32mx_driver_s *priv)
|
||||
rxdesc = &priv->pd_rxdesc[i];
|
||||
if ((rxdesc->status & RXDESC_STATUS_EOWN) == 0)
|
||||
{
|
||||
/* Yes.. return a pointer to the desciptor */
|
||||
/* Yes.. return a pointer to the descriptor */
|
||||
|
||||
return rxdesc;
|
||||
}
|
||||
|
||||
@@ -1023,7 +1023,7 @@ static struct pic32mz_rxdesc_s *pic32mz_rxdesc(struct pic32mz_driver_s *priv)
|
||||
rxdesc = &priv->pd_rxdesc[i];
|
||||
if ((rxdesc->status & RXDESC_STATUS_EOWN) == 0)
|
||||
{
|
||||
/* Yes.. return a pointer to the desciptor */
|
||||
/* Yes.. return a pointer to the descriptor */
|
||||
|
||||
return rxdesc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user