mirror of
https://github.com/ArteryTek/AT32F415_Firmware_Library.git
synced 2026-05-21 01:12:20 +00:00
update version to v2.1.5
This commit is contained in:
@@ -290,7 +290,7 @@ static usb_sts_type set_linecoding(usbh_core_type *uhost, cdc_line_coding_type *
|
||||
uhost->ctrl.setup.wLength = LINE_CODING_STRUCTURE_SIZE;
|
||||
uhost->ctrl.setup.wIndex = 0;
|
||||
|
||||
status = usbh_ctrl_request(uhost, linecoding->array, LINE_CODING_STRUCTURE_SIZE);
|
||||
usbh_ctrl_request(uhost, linecoding->array, LINE_CODING_STRUCTURE_SIZE);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -438,7 +438,7 @@ void cdc_start_transmission(usbh_core_type *uhost, uint8_t *data, uint32_t len)
|
||||
* @param uhost: to the structure of usbh_core_type
|
||||
* @retval status: usb_sts_type status
|
||||
*/
|
||||
__weak void cdc_transmit_complete(usbh_core_type *uhost)
|
||||
__WEAK void cdc_transmit_complete(usbh_core_type *uhost)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -512,7 +512,7 @@ void cdc_start_reception(usbh_core_type *uhost, uint8_t *data, uint32_t len)
|
||||
* @param uhost: to the structure of usbh_core_type
|
||||
* @retval status: usb_sts_type status
|
||||
*/
|
||||
__weak void cdc_receive_complete(usbh_core_type *uhost)
|
||||
__WEAK void cdc_receive_complete(usbh_core_type *uhost)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -259,8 +259,8 @@ extern usbh_class_handler_type uhost_cdc_class_handler;
|
||||
extern usbh_cdc_type usbh_cdc;
|
||||
void cdc_start_transmission(usbh_core_type *phost, uint8_t *data, uint32_t len);
|
||||
void cdc_start_reception(usbh_core_type *uhost, uint8_t *data, uint32_t len);
|
||||
__weak void cdc_transmit_complete(usbh_core_type *uhost);
|
||||
__weak void cdc_receive_complete(usbh_core_type *uhost);
|
||||
void cdc_transmit_complete(usbh_core_type *uhost);
|
||||
void cdc_receive_complete(usbh_core_type *uhost);
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user