mirror of
https://github.com/sakumisu/CherryUSB.git
synced 2025-05-09 00:21:44 +08:00
fix(class/cdc/usbd_cdc_ecm): fix missing return
This commit is contained in:
parent
d874bed6aa
commit
4416dfa5cf
@ -193,7 +193,7 @@ int usbd_cdc_ecm_start_read(uint8_t *buf, uint32_t len)
|
||||
}
|
||||
|
||||
g_cdc_ecm_rx_data_length = 0;
|
||||
usbd_ep_start_read(0, cdc_ecm_ep_data[CDC_ECM_OUT_EP_IDX].ep_addr, buf, len);
|
||||
return usbd_ep_start_read(0, cdc_ecm_ep_data[CDC_ECM_OUT_EP_IDX].ep_addr, buf, len);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_USBDEV_CDC_ECM_USING_LWIP
|
||||
|
Loading…
x
Reference in New Issue
Block a user