aboutsummaryrefslogtreecommitdiff
path: root/stm32
diff options
context:
space:
mode:
authordrowe67 <[email protected]>2023-07-14 10:58:22 +0930
committerDavid Rowe <[email protected]>2023-07-14 10:58:22 +0930
commit0c2e969cfbe85548801eeb20ad8113969604892a (patch)
tree3d14c471174eec69ea14dbe8bf86c7411b8c42a1 /stm32
parent6588e77f38bdebd7adffe091b22e7760d95d0ccb (diff)
manually fixed spelling errors from codec2 #406
Diffstat (limited to 'stm32')
-rw-r--r--stm32/src/stm32f4_dac.c2
-rw-r--r--stm32/usb_lib/otg/usb_dcd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/stm32/src/stm32f4_dac.c b/stm32/src/stm32f4_dac.c
index ec61bf4..8efb004 100644
--- a/stm32/src/stm32f4_dac.c
+++ b/stm32/src/stm32f4_dac.c
@@ -188,7 +188,7 @@ static void dac1_config(void)
/*
This line fixed a bug that cost me 5 days, bad wave amplitude
value, and some STM32F4 periph library bugs caused triangle wave
- geneartion to be enable resulting in a low level tone on the
+ generation to be enable resulting in a low level tone on the
SM1000, that we thought was caused by analog issues like layour
or power supply biasing
*/
diff --git a/stm32/usb_lib/otg/usb_dcd.c b/stm32/usb_lib/otg/usb_dcd.c
index 43dafc6..f408084 100644
--- a/stm32/usb_lib/otg/usb_dcd.c
+++ b/stm32/usb_lib/otg/usb_dcd.c
@@ -103,7 +103,7 @@ void DCD_Init(USB_OTG_CORE_HANDLE *pdev ,
ep->is_in = 1;
ep->num = i;
ep->tx_fifo_num = i;
- /* Control until ep is actvated */
+ /* Control until ep is activated */
ep->type = EP_TYPE_CTRL;
ep->maxpacket = USB_OTG_MAX_EP0_SIZE;
ep->xfer_buff = 0;