summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraozima <[email protected]>2022-03-27 14:38:47 +0800
committersakumisu <[email protected]>2022-03-27 14:58:25 +0800
commit3cce9e7d784a7d9fea6db5a97ff3d98b70a2252d (patch)
treea559069c0ca92c348202cfc9a7bb54c036a7727f
parent8d5bbd34aae075b997c0052910d42f0130982de4 (diff)
clean compiler warning.
-rw-r--r--class/audio/usbd_audio.c2
-rw-r--r--class/cdc/usbh_cdc_acm.c2
-rw-r--r--class/hid/usbh_hid.c2
-rw-r--r--class/hub/usbd_hub.c2
-rw-r--r--class/hub/usbh_hub.c2
-rw-r--r--class/msc/usbh_msc.c2
-rw-r--r--class/msc/usbh_msc.h2
-rw-r--r--class/video/usbd_video.c2
-rw-r--r--class/wireless/usbd_rndis.h2
-rw-r--r--osal/usb_osal_freertos.c2
-rw-r--r--osal/usb_osal_rtthread.c2
-rw-r--r--osal/usb_workq.h2
-rw-r--r--usb_config.h2
13 files changed, 13 insertions, 13 deletions
diff --git a/class/audio/usbd_audio.c b/class/audio/usbd_audio.c
index cdf0c212..a7a5817a 100644
--- a/class/audio/usbd_audio.c
+++ b/class/audio/usbd_audio.c
@@ -154,4 +154,4 @@ __WEAK void usbd_audio_set_mute(uint8_t mute)
__WEAK void usbd_audio_sof_callback(void)
{
-} \ No newline at end of file
+}
diff --git a/class/cdc/usbh_cdc_acm.c b/class/cdc/usbh_cdc_acm.c
index 0a4ef400..65c9e10c 100644
--- a/class/cdc/usbh_cdc_acm.c
+++ b/class/cdc/usbh_cdc_acm.c
@@ -282,4 +282,4 @@ CLASS_INFO_DEFINE const struct usbh_class_info cdc_acm_class_info = {
.vid = 0x00,
.pid = 0x00,
.class_driver = &cdc_acm_class_driver
-}; \ No newline at end of file
+};
diff --git a/class/hid/usbh_hid.c b/class/hid/usbh_hid.c
index ab5541b8..34d9a50c 100644
--- a/class/hid/usbh_hid.c
+++ b/class/hid/usbh_hid.c
@@ -259,4 +259,4 @@ CLASS_INFO_DEFINE const struct usbh_class_info hid_mouse_class_info = {
.vid = 0x00,
.pid = 0x00,
.class_driver = &hid_class_driver
-}; \ No newline at end of file
+};
diff --git a/class/hub/usbd_hub.c b/class/hub/usbd_hub.c
index 99399f69..91457e9d 100644
--- a/class/hub/usbd_hub.c
+++ b/class/hub/usbd_hub.c
@@ -103,4 +103,4 @@ void usbd_hub_add_interface(usbd_class_t *devclass, usbd_interface_t *intf)
intf->vendor_handler = NULL;
intf->notify_handler = hub_notify_handler;
usbd_class_add_interface(devclass, intf);
-} \ No newline at end of file
+}
diff --git a/class/hub/usbh_hub.c b/class/hub/usbh_hub.c
index 9eede10e..e6d97cee 100644
--- a/class/hub/usbh_hub.c
+++ b/class/hub/usbh_hub.c
@@ -516,4 +516,4 @@ CLASS_INFO_DEFINE const struct usbh_class_info hub_class_info = {
.vid = 0x00,
.pid = 0x00,
.class_driver = &hub_class_driver
-}; \ No newline at end of file
+};
diff --git a/class/msc/usbh_msc.c b/class/msc/usbh_msc.c
index 1b4992e8..1ee722a2 100644
--- a/class/msc/usbh_msc.c
+++ b/class/msc/usbh_msc.c
@@ -438,4 +438,4 @@ CLASS_INFO_DEFINE const struct usbh_class_info msc_class_info = {
.vid = 0x00,
.pid = 0x00,
.class_driver = &msc_class_driver
-}; \ No newline at end of file
+};
diff --git a/class/msc/usbh_msc.h b/class/msc/usbh_msc.h
index b7ef0d3a..1cd26015 100644
--- a/class/msc/usbh_msc.h
+++ b/class/msc/usbh_msc.h
@@ -51,4 +51,4 @@ extern "C" {
}
#endif
-#endif \ No newline at end of file
+#endif
diff --git a/class/video/usbd_video.c b/class/video/usbd_video.c
index 10071eb7..da605354 100644
--- a/class/video/usbd_video.c
+++ b/class/video/usbd_video.c
@@ -816,4 +816,4 @@ void usbd_video_mjpeg_payload_header_toggle(uint8_t *output, uint32_t packets)
__WEAK void usbd_video_sof_callback(void)
{
-} \ No newline at end of file
+}
diff --git a/class/wireless/usbd_rndis.h b/class/wireless/usbd_rndis.h
index 731c0de0..e6bd60bf 100644
--- a/class/wireless/usbd_rndis.h
+++ b/class/wireless/usbd_rndis.h
@@ -46,4 +46,4 @@ void usbd_rndis_add_interface(usbd_class_t *devclass, usbd_interface_t *intf);
}
#endif
-#endif \ No newline at end of file
+#endif
diff --git a/osal/usb_osal_freertos.c b/osal/usb_osal_freertos.c
index 98b9ac1e..4b890ae8 100644
--- a/osal/usb_osal_freertos.c
+++ b/osal/usb_osal_freertos.c
@@ -145,4 +145,4 @@ void usb_osal_leave_critical_section(uint32_t flag)
void usb_osal_msleep(uint32_t delay)
{
vTaskDelay(pdMS_TO_TICKS(delay));
-} \ No newline at end of file
+}
diff --git a/osal/usb_osal_rtthread.c b/osal/usb_osal_rtthread.c
index bb3adefa..56e8d99a 100644
--- a/osal/usb_osal_rtthread.c
+++ b/osal/usb_osal_rtthread.c
@@ -114,4 +114,4 @@ void usb_osal_leave_critical_section(uint32_t flag)
void usb_osal_msleep(uint32_t delay)
{
rt_thread_mdelay(rt_tick_from_millisecond(delay));
-} \ No newline at end of file
+}
diff --git a/osal/usb_workq.h b/osal/usb_workq.h
index 6d54b167..0c3707dd 100644
--- a/osal/usb_workq.h
+++ b/osal/usb_workq.h
@@ -46,4 +46,4 @@ extern struct usb_workqueue g_lpworkq;
void usb_workqueue_submit(struct usb_workqueue *queue, struct usb_work *work, usb_worker_t worker, void *arg, uint32_t ticks);
int usbh_workq_initialize();
-#endif \ No newline at end of file
+#endif
diff --git a/usb_config.h b/usb_config.h
index 86c786cc..ecc6c225 100644
--- a/usb_config.h
+++ b/usb_config.h
@@ -69,4 +69,4 @@
#define CONFIG_USB_ECHI_HCOR_RESERVED_DISABLE
// #define CONFIG_USB_EHCI_CONFIGFLAG
-#endif \ No newline at end of file
+#endif