diff options
| author | sakumisu <[email protected]> | 2024-11-27 19:37:42 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-11-27 19:37:42 +0800 |
| commit | 4416dfa5cf35ff23dc7c7ef46a4b2b7d7c698109 (patch) | |
| tree | e10671b1bd1d6ee2fc104224242396731401915b | |
| parent | d874bed6aa522b7389af64ff3dff9bb7619f16a5 (diff) | |
fix(class/cdc/usbd_cdc_ecm): fix missing return
| -rw-r--r-- | class/cdc/usbd_cdc_ecm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/class/cdc/usbd_cdc_ecm.c b/class/cdc/usbd_cdc_ecm.c index 45627605..5ae10a20 100644 --- a/class/cdc/usbd_cdc_ecm.c +++ b/class/cdc/usbd_cdc_ecm.c @@ -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 |
