From 7faceeb02d7d2ff7bd79f1039e7900bbdbda9b11 Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 10 Apr 2018 19:44:08 +0700 Subject: rename ATTR_USB_MIN_ALIGNMENT to CFG_TUSB_MEM_ALIGN --- examples/obsolete/device/src/tusb_config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/obsolete/device/src') diff --git a/examples/obsolete/device/src/tusb_config.h b/examples/obsolete/device/src/tusb_config.h index 5f1f75b38..7544fa8b4 100644 --- a/examples/obsolete/device/src/tusb_config.h +++ b/examples/obsolete/device/src/tusb_config.h @@ -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 -- cgit v1.3.1