Fix misspellings using codespell tool

This commit is contained in:
Anatol Pomozov
2015-12-11 08:46:44 -08:00
parent 20e1ee174d
commit ae41782e1a
25 changed files with 31 additions and 31 deletions

View File

@@ -102,7 +102,7 @@ static void efm32lg_ep_setup(usbd_device *usbd_dev, uint8_t addr, uint8_t type,
{
/*
* Configure endpoint address and type. Allocate FIFO memory for
* endpoint. Install callback funciton.
* endpoint. Install callback function.
*/
uint8_t dir = addr & 0x80;
addr &= 0x7f;

View File

@@ -44,7 +44,7 @@ void stm32fx07_ep_setup(usbd_device *usbd_dev, uint8_t addr, uint8_t type,
{
/*
* Configure endpoint address and type. Allocate FIFO memory for
* endpoint. Install callback funciton.
* endpoint. Install callback function.
*/
uint8_t dir = addr & 0x80;
addr &= 0x7f;
@@ -179,7 +179,7 @@ uint8_t stm32fx07_ep_stall_get(usbd_device *usbd_dev, uint8_t addr)
void stm32fx07_ep_nak_set(usbd_device *usbd_dev, uint8_t addr, uint8_t nak)
{
/* It does not make sence to force NAK on IN endpoints. */
/* It does not make sense to force NAK on IN endpoints. */
if (addr & 0x80) {
return;
}

View File

@@ -193,7 +193,7 @@ static int usb_standard_get_descriptor(usbd_device *usbd_dev,
return USBD_REQ_NOTSUPP;
}
/* Ths string is returned as UTF16, hence the
/* This string is returned as UTF16, hence the
* multiplication
*/
sd->bLength = strlen(usbd_dev->strings[array_idx]) * 2 +