Skip to content

Commit 04d067d

Browse files
committed
Spelling
1 parent 8ced486 commit 04d067d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/targets/TARGET_STM/USBHALHost_STM.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void HAL_HCD_HC_NotifyURBChange_Callback(HCD_HandleTypeDef *pHcd, uint8_t uChann
108108

109109
if ((endpointType == EP_TYPE_INTR))
110110
{
111-
// Disable the channel interupt and retransfer below
111+
// Disable the channel interrupt and retransfer below
112112
pTransferDescriptor->state = USB_TYPE_IDLE ;
113113
HAL_HCD_DisableInt(pHcd, uChannel);
114114
}
@@ -444,7 +444,7 @@ void USBHALHost::UsbIrqhandler()
444444
#if ARC_USB_FULL_SIZE
445445
// fix from Lix Paulian : https://community.st.com/t5/stm32-mcus-products/stm32f4-stm32f7-usb-host-core-interrupt-flood/td-p/436225/page/4
446446

447-
// Enable USB_OTG_HCINT_NAK interupts for CTRL and BULK on USB_OTG_GINTSTS_SOF (1ms)
447+
// Enable USB_OTG_HCINT_NAK interrupts for CTRL and BULK on USB_OTG_GINTSTS_SOF (1ms)
448448
uint32_t ch_num;
449449
HCD_HandleTypeDef* hhcd = (HCD_HandleTypeDef *)usb_hcca;
450450

@@ -459,7 +459,7 @@ void USBHALHost::UsbIrqhandler()
459459

460460
HAL_HCD_IRQHandler((HCD_HandleTypeDef *)usb_hcca);
461461

462-
// Disable USB_OTG_HCINT_NAK interupts for CTRL and BULK on USB_OTG_GINTSTS_HCINT
462+
// Disable USB_OTG_HCINT_NAK interrupts for CTRL and BULK on USB_OTG_GINTSTS_HCINT
463463
if (__HAL_HCD_GET_FLAG(hhcd, USB_OTG_GINTSTS_HCINT) && hhcd->Init.dma_enable == 0)
464464
{
465465
for (ch_num = 0; ch_num < hhcd->Init.Host_channels; ch_num++)

0 commit comments

Comments
 (0)