replace RT_WEAK macros with rt_weak
This commit is contained in:
parent
d6605e3f8b
commit
7542f780e9
|
@ -311,31 +311,31 @@ void usbd_wakeup_handler(usbd_core_type *udev)
|
|||
/* user define wakeup event */
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_reset_callback(usbd_core_type *udev)
|
||||
rt_weak void usbd_reset_callback(usbd_core_type *udev)
|
||||
{
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_setup_phase_done_callback(usbd_core_type *udev)
|
||||
rt_weak void usbd_setup_phase_done_callback(usbd_core_type *udev)
|
||||
{
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_data_in_stage_callback(usbd_core_type *udev, uint32_t ept_num)
|
||||
rt_weak void usbd_data_in_stage_callback(usbd_core_type *udev, uint32_t ept_num)
|
||||
{
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_sof_callback(usbd_core_type *udev)
|
||||
rt_weak void usbd_sof_callback(usbd_core_type *udev)
|
||||
{
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_data_out_stage_callback(usbd_core_type *udev, uint32_t ept_num)
|
||||
rt_weak void usbd_data_out_stage_callback(usbd_core_type *udev, uint32_t ept_num)
|
||||
{
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_connectCallback(usbd_core_type *udev)
|
||||
rt_weak void usbd_connectCallback(usbd_core_type *udev)
|
||||
{
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_disconnectCallback(usbd_core_type *udev)
|
||||
rt_weak void usbd_disconnectCallback(usbd_core_type *udev)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -521,31 +521,31 @@ void usbd_wakeup_handler(usbd_core_type *udev)
|
|||
udev->class_handler->event_handler(udev, USBD_WAKEUP_EVENT);
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_reset_callback(usbd_core_type *udev)
|
||||
rt_weak void usbd_reset_callback(usbd_core_type *udev)
|
||||
{
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_setup_phase_done_callback(usbd_core_type *udev)
|
||||
rt_weak void usbd_setup_phase_done_callback(usbd_core_type *udev)
|
||||
{
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_data_in_stage_callback(usbd_core_type *udev, uint32_t ept_num)
|
||||
rt_weak void usbd_data_in_stage_callback(usbd_core_type *udev, uint32_t ept_num)
|
||||
{
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_sof_callback(usbd_core_type *udev)
|
||||
rt_weak void usbd_sof_callback(usbd_core_type *udev)
|
||||
{
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_data_out_stage_callback(usbd_core_type *udev, uint32_t ept_num)
|
||||
rt_weak void usbd_data_out_stage_callback(usbd_core_type *udev, uint32_t ept_num)
|
||||
{
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_connectCallback(usbd_core_type *udev)
|
||||
rt_weak void usbd_connectCallback(usbd_core_type *udev)
|
||||
{
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_disconnectCallback(usbd_core_type *udev)
|
||||
rt_weak void usbd_disconnectCallback(usbd_core_type *udev)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -520,15 +520,15 @@ void usbh_port_handler(usbh_core_type *uhost)
|
|||
usb_host->hprt = prt_0;
|
||||
}
|
||||
|
||||
RT_WEAK void usbh_connect_callback(usbh_core_type *uhost)
|
||||
rt_weak void usbh_connect_callback(usbh_core_type *uhost)
|
||||
{
|
||||
}
|
||||
|
||||
RT_WEAK void usbh_disconnect_callback(usbh_core_type *uhost)
|
||||
rt_weak void usbh_disconnect_callback(usbh_core_type *uhost)
|
||||
{
|
||||
}
|
||||
|
||||
RT_WEAK void usbd_notify_urbchange_callback(usbh_core_type *uhost, uint8_t chnum, urb_sts_type sts)
|
||||
rt_weak void usbd_notify_urbchange_callback(usbh_core_type *uhost, uint8_t chnum, urb_sts_type sts)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue