summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2022-01-26 11:00:16 +0800
committerguo <[email protected]>2022-01-26 11:39:39 +0800
commit2f6f9da5e3fd581f74ed44e233c0df3fd247b63e (patch)
tree843a9cf318987f38cccca2a914de7e5f163a28d8 /components
parent0e30fac0696d8e1df640303fcd2f3d903906a5ee (diff)
fix usbhost issue by #4378
Diffstat (limited to 'components')
-rw-r--r--components/drivers/usb/usbhost/core/driver.c2
-rw-r--r--components/drivers/usb/usbhost/core/hub.c2
-rw-r--r--components/drivers/usb/usbhost/core/usbhost.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/components/drivers/usb/usbhost/core/driver.c b/components/drivers/usb/usbhost/core/driver.c
index 102e388154..73360d307a 100644
--- a/components/drivers/usb/usbhost/core/driver.c
+++ b/components/drivers/usb/usbhost/core/driver.c
@@ -144,4 +144,4 @@ ucd_t rt_usbh_class_driver_find(int class_code, int subclass_code)
/* not found */
return RT_NULL;
-} \ No newline at end of file
+}
diff --git a/components/drivers/usb/usbhost/core/hub.c b/components/drivers/usb/usbhost/core/hub.c
index bf48bc4c61..eca06f6564 100644
--- a/components/drivers/usb/usbhost/core/hub.c
+++ b/components/drivers/usb/usbhost/core/hub.c
@@ -718,4 +718,4 @@ void rt_usbh_hub_init(uhcd_t hcd)
/* startup usb host thread */
rt_thread_startup(thread);
}
-} \ No newline at end of file
+}
diff --git a/components/drivers/usb/usbhost/core/usbhost.c b/components/drivers/usb/usbhost/core/usbhost.c
index 84b9640b76..9a4c166acd 100644
--- a/components/drivers/usb/usbhost/core/usbhost.c
+++ b/components/drivers/usb/usbhost/core/usbhost.c
@@ -65,4 +65,4 @@ rt_err_t rt_usb_host_init(const char *name)
rt_device_init(uhc);
return RT_EOK;
-} \ No newline at end of file
+}