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

@@ -113,7 +113,7 @@
// LPC11uxx and LPC13uxx requires each buffer has to be 64-byte alignment
#if CFG_TUSB_MCU == OPT_MCU_LPC11UXX || CFG_TUSB_MCU == OPT_MCU_LPC13UXX
#define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(64)
#elif defined NRF52840_XXAA
#elif CFG_TUSB_MCU == OPT_MCU_NRF5X
#define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4)
#else
#define CFG_TUSB_MEM_ALIGN