summaryrefslogtreecommitdiff
path: root/examples/obsolete/device/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/obsolete/device/src')
-rw-r--r--examples/obsolete/device/src/tusb_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/obsolete/device/src/tusb_config.h b/examples/obsolete/device/src/tusb_config.h
index 8a7fcabdf..f68fe59eb 100644
--- a/examples/obsolete/device/src/tusb_config.h
+++ b/examples/obsolete/device/src/tusb_config.h
@@ -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