Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/usb
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2015-12-11 19:46:44 +0300
committerAnatol Pomozov <anatol.pomozov@gmail.com>2016-03-08 19:52:54 +0300
commitae41782e1aec3483302a8e9164e76c89b872cbc6 (patch)
tree5dd794cf76f935122226490b4bf2d5b9c466d9c6 /lib/usb
parent20e1ee174d814524be57265d7b5ebaa5559e8000 (diff)
Fix misspellings using codespell tool
Diffstat (limited to 'lib/usb')
-rw-r--r--lib/usb/usb_efm32lg.c2
-rw-r--r--lib/usb/usb_fx07_common.c4
-rw-r--r--lib/usb/usb_standard.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/usb/usb_efm32lg.c b/lib/usb/usb_efm32lg.c
index f0b2cc3d..5768947c 100644
--- a/lib/usb/usb_efm32lg.c
+++ b/lib/usb/usb_efm32lg.c
@@ -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;
diff --git a/lib/usb/usb_fx07_common.c b/lib/usb/usb_fx07_common.c
index a2fab525..edd10ada 100644
--- a/lib/usb/usb_fx07_common.c
+++ b/lib/usb/usb_fx07_common.c
@@ -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;
}
diff --git a/lib/usb/usb_standard.c b/lib/usb/usb_standard.c
index 5e851625..d94ceed9 100644
--- a/lib/usb/usb_standard.c
+++ b/lib/usb/usb_standard.c
@@ -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 +