Skip to content

Commit 5cfb622

Browse files
committed
Fix spelling mistakes highlighted by CI action.
1 parent 50f39a5 commit 5cfb622

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See: https://github.com/codespell-project/codespell#using-a-config-file
33
[codespell]
44
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
5-
ignore-words-list = ,
5+
ignore-words-list = freeed,
66
skip = ./.git,./.licenses,__pycache__,node_modules,./go.mod,./go.sum,./package-lock.json,./poetry.lock,./yarn.lock
77
builtin = clear,informal,en-GB_to_en-US
88
check-filenames =

src/USBHost/USBDeviceConnected.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class USBDeviceConnected
5252
* Attach an USBEndpoint to this device
5353
*
5454
* @param intf_nb interface number
55-
* @param ep pointeur on the USBEndpoint which will be attached
55+
* @param ep pointer on the USBEndpoint which will be attached
5656
* @returns true if successful, false otherwise
5757
*/
5858
bool addEndpoint(uint8_t intf_nb, USBEndpoint * ep);

src/USBHost/USBEndpoint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class USBEndpoint
107107
}
108108

109109
/**
110-
* Call the handler associted to the end of a transfer
110+
* Call the handler associated to the end of a transfer
111111
*/
112112
inline void call() {
113113
if (rx)

src/USBHost/USBHost.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class USBHost : public USBHALHost {
132132
/**
133133
* reset a specific device
134134
*
135-
* @param dev device which will be resetted
135+
* @param dev device which will be reset
136136
*/
137137
USB_TYPE resetDevice(USBDeviceConnected * dev);
138138

src/USBHost/USBHostTypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ typedef struct hcTd {
188188
typedef struct hcEd {
189189
__IO uint32_t control; // Endpoint descriptor control
190190
__IO HCTD * tailTD; // Physical address of tail in Transfer descriptor list
191-
__IO HCTD * headTD; // Physcial address of head in Transfer descriptor list
191+
__IO HCTD * headTD; // Physical address of head in Transfer descriptor list
192192
__IO hcEd * nextED; // Physical address of next Endpoint descriptor
193193
} PACKED HCED;
194194
// ----------- Host Controller Communication Area ------------

src/USBHostMSD/USBHostMSD.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ int USBHostMSD::SCSITransfer(uint8_t * cmd, uint8_t cmd_len, int flags, uint8_t
273273
BO_MASS_STORAGE_RESET,
274274
0, msd_intf, NULL, 0);
275275

276-
// unstall both endpoints
276+
// uninstall both endpoints
277277
res = host->controlWrite( dev,
278278
USB_RECIPIENT_ENDPOINT | USB_HOST_TO_DEVICE | USB_REQUEST_TYPE_STANDARD,
279279
CLEAR_FEATURE,

src/targets/TARGET_STM/USBHALHost_STM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ void HAL_HCD_HC_NotifyURBChange_Callback(HCD_HandleTypeDef *hhcd, uint8_t chnum,
128128
}
129129
}
130130
if ((type == EP_TYPE_INTR)) {
131-
/* reply a packet of length NULL, this will be analyse in call back
131+
/* reply a packet of length NULL, this will be analyze in call back
132132
* for mouse or hub */
133133
td->state = USB_TYPE_IDLE ;
134134
HAL_HCD_DisableInt(hhcd, chnum);

0 commit comments

Comments
 (0)