Skip to content

Commit 3a90c05

Browse files
author
Alrik Vidstrom
committed
Fix minor spelling error
recover => recovery
1 parent 0173377 commit 3a90c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/USBHost/USBHost.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ USB_TYPE USBHost::generalTransfer(USBDeviceConnected * dev, USBEndpoint * ep, ui
11451145
USB_DBG_TRANSFER("%s TRANSFER res: %s on ep: %p\r\n", type_str, ep->getStateString(), ep);
11461146

11471147
if (res != USB_TYPE_IDLE) {
1148-
// Set state to USB_TYPE_IDLE to allow recover from the error, but return the error
1148+
// Set state to USB_TYPE_IDLE to allow recovery from the error, but return the error
11491149
ep->setState(USB_TYPE_IDLE);
11501150
return res;
11511151
}

0 commit comments

Comments
 (0)