Skip to content

Commit

Permalink
fix(class/cdc/usbd_cdc_ecm): fix missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
sakumisu committed Nov 27, 2024
1 parent d874bed commit 4416dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/cdc/usbd_cdc_ecm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4416dfa

Please sign in to comment.