diff options
| author | hathach <[email protected]> | 2018-06-13 17:13:12 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-06-13 17:14:12 +0700 |
| commit | 2b85a8fd460dd75cc12b11c9de137bf33f910cc7 (patch) | |
| tree | 152a9c9b010b475947a994b395a7c739a0727dc5 /tinyusb/class | |
| parent | d1ecef4fc37718ef76944cbdfe54924c42ff22e7 (diff) | |
improve nrf52 dcd, add fix for hw ACK issue with bulk
Diffstat (limited to 'tinyusb/class')
| -rw-r--r-- | tinyusb/class/cdc/cdc_device.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tinyusb/class/cdc/cdc_device.c b/tinyusb/class/cdc/cdc_device.c index 9237e1945..506407179 100644 --- a/tinyusb/class/cdc/cdc_device.c +++ b/tinyusb/class/cdc/cdc_device.c @@ -66,13 +66,7 @@ typedef struct { }cdcd_interface_t;
// TODO multiple rhport
-#if CFG_TUSB_MCU == OPT_MCU_NRF5X
-// FIXME nrf52 OUT bug ( Controller ACK data even we didn't prepare transfer )
-CFG_TUSB_ATTR_USBRAM CFG_TUSB_MEM_ALIGN uint8_t _tmp_rx_buf[600];
-#else
CFG_TUSB_ATTR_USBRAM CFG_TUSB_MEM_ALIGN uint8_t _tmp_rx_buf[64];
-#endif
-
CFG_TUSB_ATTR_USBRAM CFG_TUSB_MEM_ALIGN uint8_t _tmp_tx_buf[64];
FIFO_DEF(_rx_ff, CFG_TUD_CDC_BUFSIZE, uint8_t, true);
|
