aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports/ARMCMx/compilers
diff options
context:
space:
mode:
Diffstat (limited to 'os/common/ports/ARMCMx/compilers')
-rw-r--r--os/common/ports/ARMCMx/compilers/IAR/chtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/common/ports/ARMCMx/compilers/IAR/chtypes.h b/os/common/ports/ARMCMx/compilers/IAR/chtypes.h
index 07287e5cc..293389255 100644
--- a/os/common/ports/ARMCMx/compilers/IAR/chtypes.h
+++ b/os/common/ports/ARMCMx/compilers/IAR/chtypes.h
@@ -96,7 +96,7 @@ typedef uint32_t ucnt_t; /**< Generic unsigned counter. */
/**
* @brief Memory alignment enforcement for variables.
*/
-#define ALIGNED_VAR(n) _Pragma(__CH_STRINGIFY(data_alignment=##n))
+#define ALIGNED_VAR(n) _Pragma(__CH_STRINGIFY(data_alignment=n))
/**
* @brief Size of a pointer.