refactor nrf5x mcu macro

This commit is contained in:
hathach
2018-04-12 13:14:59 +07:00
parent e1272159d8
commit 08a24ee224
7 changed files with 11 additions and 7 deletions

View File

@@ -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