rename ATTR_USB_MIN_ALIGNMENT to CFG_TUSB_MEM_ALIGN

This commit is contained in:
hathach
2018-04-10 19:44:08 +07:00
parent fecef9ca42
commit 7faceeb02d
7 changed files with 22 additions and 18 deletions

View File

@@ -112,11 +112,11 @@
// LPC11uxx and LPC13uxx requires each buffer has to be 64-byte alignment
#if CFG_TUSB_MCU == MCU_LPC11UXX || CFG_TUSB_MCU == MCU_LPC13UXX
#define ATTR_USB_MIN_ALIGNMENT ATTR_ALIGNED(64)
#define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(64)
#elif defined NRF52840_XXAA
#define ATTR_USB_MIN_ALIGNMENT ATTR_ALIGNED(4)
#define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4)
#else
#define ATTR_USB_MIN_ALIGNMENT
#define CFG_TUSB_MEM_ALIGN
#endif