Skip to content

Commit 88edfed

Browse files
committed
Spelling
1 parent 04d067d commit 88edfed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/targets/TARGET_STM/USBHALHost_STM.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ void HAL_HCD_HC_NotifyURBChange_Callback(HCD_HandleTypeDef *pHcd, uint8_t uChann
123123
pTransferDescriptor->retry = 0xffffffff; // Disable retries
124124
else
125125
{
126-
// if the retry count is 0 then initialise downward counting retry
126+
// if the retry count is 0 then initialize downward counting retry
127127
// otherwise decrement retry count
128128
if(pTransferDescriptor->retry == 0)
129129
pTransferDescriptor->retry = uRetryCount;
@@ -134,7 +134,7 @@ void HAL_HCD_HC_NotifyURBChange_Callback(HCD_HandleTypeDef *pHcd, uint8_t uChann
134134
// If our retry count has got down to 0 or we are an Ack then submit request again
135135
if((pTransferDescriptor->retry == 0) || (pTransferDescriptor->size==0))
136136
{
137-
// initialise downward counting retry
137+
// initialize downward counting retry
138138
pTransferDescriptor->retry = uRetryCount;
139139

140140
// resubmit the request.

0 commit comments

Comments
 (0)