summaryrefslogtreecommitdiff
path: root/tinyusb/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-22 17:43:13 +0700
committerhathach <[email protected]>2018-03-22 17:43:13 +0700
commit0fec2e5cc011eed45ec017bbc8cca90565e96074 (patch)
treeb501c17c23329893ed64153b4b58e4ac75716c68 /tinyusb/device
parent974e3865e8b9d2ca3a98df5b55a7373010d781e4 (diff)
refactor MSC device driver
Diffstat (limited to 'tinyusb/device')
-rw-r--r--tinyusb/device/usbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/usbd.c b/tinyusb/device/usbd.c
index 319014111..f2b73e1de 100644
--- a/tinyusb/device/usbd.c
+++ b/tinyusb/device/usbd.c
@@ -258,7 +258,7 @@ static tusb_error_t usbd_main_stk(void)
STASK_INVOKE( proc_control_request_st(event.port, &event.setup_received), error );
}else if (USBD_EVENTID_XFER_DONE == event.event_id)
{
- // Call class handling function, Class that endpoint not belong to should check and return
+ // Call class handling function. Those doest not own the endpoint should check and return
for (uint8_t class_code = TUSB_CLASS_AUDIO; class_code < USBD_CLASS_DRIVER_COUNT; class_code++)
{
if ( usbd_class_drivers[class_code].xfer_cb )