summaryrefslogtreecommitdiff
path: root/examples/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-07-11 22:55:19 +0700
committerhathach <[email protected]>2019-07-11 22:55:19 +0700
commitec8f6a6d909b96777a320454528c41527afa2aac (patch)
tree3f164029ffb7d3cc2c1683996ae66d62e675bba6 /examples/host
parentff2a7c79f84f03b41d69406158de85cb9e5d9046 (diff)
clean up demo config
Diffstat (limited to 'examples/host')
-rw-r--r--examples/host/cdc_msc_hid/src/tusb_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/cdc_msc_hid/src/tusb_config.h b/examples/host/cdc_msc_hid/src/tusb_config.h
index 9662223b1..1a9c8fa5c 100644
--- a/examples/host/cdc_msc_hid/src/tusb_config.h
+++ b/examples/host/cdc_msc_hid/src/tusb_config.h
@@ -63,7 +63,7 @@
#endif
#ifndef CFG_TUSB_MEM_ALIGN
-#define CFG_TUSB_MEM_ALIGN TU_ATTR_ALIGNED(4)
+#define CFG_TUSB_MEM_ALIGN __attribute__ ((aligned(4)))
#endif
//--------------------------------------------------------------------