diff options
| author | hathach <[email protected]> | 2018-04-12 13:14:59 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-04-12 13:14:59 +0700 |
| commit | 08a24ee2246dee6701d1bf074e3f307215379a91 (patch) | |
| tree | e80b8c3d0181abdbe94e423bb210e14a11d4ea48 /tinyusb/class | |
| parent | e1272159d8b32e2f5478b35fa0e727cfc5c417e3 (diff) | |
refactor nrf5x mcu macro
Diffstat (limited to 'tinyusb/class')
| -rw-r--r-- | tinyusb/class/cdc/cdc_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/cdc/cdc_device.c b/tinyusb/class/cdc/cdc_device.c index da38b15fe..c0a5ff6cf 100644 --- a/tinyusb/class/cdc/cdc_device.c +++ b/tinyusb/class/cdc/cdc_device.c @@ -66,7 +66,7 @@ typedef struct { }cdcd_data_t;
// TODO multiple rhport
-#ifdef NRF52840_XXAA
+#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[1024];
#else
|
