Fix misspellings using codespell tool
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 +
|
||||
|
||||
Reference in New Issue
Block a user