clean compiler warning.

This commit is contained in:
aozima
2022-03-27 14:38:47 +08:00
committed by sakumisu
parent 8d5bbd34aa
commit 3cce9e7d78
13 changed files with 13 additions and 13 deletions

View File

@@ -154,4 +154,4 @@ __WEAK void usbd_audio_set_mute(uint8_t mute)
__WEAK void usbd_audio_sof_callback(void) __WEAK void usbd_audio_sof_callback(void)
{ {
} }

View File

@@ -282,4 +282,4 @@ CLASS_INFO_DEFINE const struct usbh_class_info cdc_acm_class_info = {
.vid = 0x00, .vid = 0x00,
.pid = 0x00, .pid = 0x00,
.class_driver = &cdc_acm_class_driver .class_driver = &cdc_acm_class_driver
}; };

View File

@@ -259,4 +259,4 @@ CLASS_INFO_DEFINE const struct usbh_class_info hid_mouse_class_info = {
.vid = 0x00, .vid = 0x00,
.pid = 0x00, .pid = 0x00,
.class_driver = &hid_class_driver .class_driver = &hid_class_driver
}; };

View File

@@ -103,4 +103,4 @@ void usbd_hub_add_interface(usbd_class_t *devclass, usbd_interface_t *intf)
intf->vendor_handler = NULL; intf->vendor_handler = NULL;
intf->notify_handler = hub_notify_handler; intf->notify_handler = hub_notify_handler;
usbd_class_add_interface(devclass, intf); usbd_class_add_interface(devclass, intf);
} }

View File

@@ -516,4 +516,4 @@ CLASS_INFO_DEFINE const struct usbh_class_info hub_class_info = {
.vid = 0x00, .vid = 0x00,
.pid = 0x00, .pid = 0x00,
.class_driver = &hub_class_driver .class_driver = &hub_class_driver
}; };

View File

@@ -438,4 +438,4 @@ CLASS_INFO_DEFINE const struct usbh_class_info msc_class_info = {
.vid = 0x00, .vid = 0x00,
.pid = 0x00, .pid = 0x00,
.class_driver = &msc_class_driver .class_driver = &msc_class_driver
}; };

View File

@@ -51,4 +51,4 @@ extern "C" {
} }
#endif #endif
#endif #endif

View File

@@ -816,4 +816,4 @@ void usbd_video_mjpeg_payload_header_toggle(uint8_t *output, uint32_t packets)
__WEAK void usbd_video_sof_callback(void) __WEAK void usbd_video_sof_callback(void)
{ {
} }

View File

@@ -46,4 +46,4 @@ void usbd_rndis_add_interface(usbd_class_t *devclass, usbd_interface_t *intf);
} }
#endif #endif
#endif #endif

View File

@@ -145,4 +145,4 @@ void usb_osal_leave_critical_section(uint32_t flag)
void usb_osal_msleep(uint32_t delay) void usb_osal_msleep(uint32_t delay)
{ {
vTaskDelay(pdMS_TO_TICKS(delay)); vTaskDelay(pdMS_TO_TICKS(delay));
} }

View File

@@ -114,4 +114,4 @@ void usb_osal_leave_critical_section(uint32_t flag)
void usb_osal_msleep(uint32_t delay) void usb_osal_msleep(uint32_t delay)
{ {
rt_thread_mdelay(rt_tick_from_millisecond(delay)); rt_thread_mdelay(rt_tick_from_millisecond(delay));
} }

View File

@@ -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); 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(); int usbh_workq_initialize();
#endif #endif

View File

@@ -69,4 +69,4 @@
#define CONFIG_USB_ECHI_HCOR_RESERVED_DISABLE #define CONFIG_USB_ECHI_HCOR_RESERVED_DISABLE
// #define CONFIG_USB_EHCI_CONFIGFLAG // #define CONFIG_USB_EHCI_CONFIGFLAG
#endif #endif