diff options
| author | sakumisu <[email protected]> | 2024-05-17 17:04:53 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-05-17 17:04:53 +0800 |
| commit | 13e4670f3dd14765cb9ea0cb8401ea57fa5b9f7a (patch) | |
| tree | 5589103411cdd95b3395da48edf318dd1c84b6be /class/cdc | |
| parent | 1d9a36b61c1bc5d4b5b7086e6e61e99b8d1beb66 (diff) | |
update: remove internal configs, you should get config from usb_config.h
Diffstat (limited to 'class/cdc')
| -rw-r--r-- | class/cdc/usbh_cdc_ncm.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/class/cdc/usbh_cdc_ncm.c b/class/cdc/usbh_cdc_ncm.c index f8cc03f3..f6e43af3 100644 --- a/class/cdc/usbh_cdc_ncm.c +++ b/class/cdc/usbh_cdc_ncm.c @@ -23,14 +23,6 @@ #define CONFIG_USBHOST_CDC_NCM_ETH_MAX_SEGSZE 1514U -/* eth rx size must be a multiple of 512 or 64 */ -#ifndef CONFIG_USBHOST_CDC_NCM_ETH_MAX_RX_SIZE -#define CONFIG_USBHOST_CDC_NCM_ETH_MAX_RX_SIZE (2048) -#endif -#ifndef CONFIG_USBHOST_CDC_NCM_ETH_MAX_TX_SIZE -#define CONFIG_USBHOST_CDC_NCM_ETH_MAX_TX_SIZE (2048) -#endif - static USB_NOCACHE_RAM_SECTION USB_MEM_ALIGNX uint8_t g_cdc_ncm_rx_buffer[CONFIG_USBHOST_CDC_NCM_ETH_MAX_RX_SIZE]; static USB_NOCACHE_RAM_SECTION USB_MEM_ALIGNX uint8_t g_cdc_ncm_tx_buffer[CONFIG_USBHOST_CDC_NCM_ETH_MAX_TX_SIZE]; static USB_NOCACHE_RAM_SECTION USB_MEM_ALIGNX uint8_t g_cdc_ncm_inttx_buffer[16]; |
