summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2022-12-04 20:26:59 +0700
committerGitHub <[email protected]>2022-12-04 20:26:59 +0700
commitd6d2499ad6d85cbc5f27a2917c04cca4aa1144ba (patch)
tree09b1e0e015e98c24a9deea490484142f6e013384 /src/host
parentf24f47d03849874b8c3ad442aa14f6565e205c47 (diff)
parent43b255f413e08b9e567a23b24701efbdaebcb824 (diff)
Merge pull request #1695 from hadess/wip/hadess/fix-typos
Fix typos
Diffstat (limited to 'src/host')
-rw-r--r--src/host/usbh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index d97b160c9..9065e5241 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -1275,7 +1275,7 @@ static void process_enumeration(tuh_xfer_t* xfer)
// connected directly to roothub
hcd_port_reset( _dev0.rhport );
osal_task_delay(RESET_DELAY); // TODO may not work for no-OS on MCU that require reset_end() since
- // sof of controller may not running while reseting
+ // sof of controller may not running while resetting
hcd_port_reset_end(_dev0.rhport);
// TODO: fall through to SET ADDRESS, refactor later
}
@@ -1395,7 +1395,7 @@ static bool enum_new_device(hcd_event_t* event)
// wait until device is stable TODO non blocking
hcd_port_reset(_dev0.rhport);
osal_task_delay(RESET_DELAY); // TODO may not work for no-OS on MCU that require reset_end() since
- // sof of controller may not running while reseting
+ // sof of controller may not running while resetting
hcd_port_reset_end( _dev0.rhport);
// device unplugged while delaying