summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-01-21 11:32:37 +0700
committerhathach <[email protected]>2023-01-21 11:32:37 +0700
commit1bbeb6ad79fa1e76c109592773e0834e1ec00a0c (patch)
tree6d223fc58c9a88df40d959c5c741fec4fcd9ad5d /src/common
parentcb34cb2a9397eeeeff9bacd212914477c6e76ff9 (diff)
update stm32f1 to support iar build
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tusb_compiler.h b/src/common/tusb_compiler.h
index 2c30daf6f..a0a49d7ec 100644
--- a/src/common/tusb_compiler.h
+++ b/src/common/tusb_compiler.h
@@ -76,9 +76,9 @@
* - ##__VA_ARGS__ is used to deal with 0 paramerter (swallows comma)
*------------------------------------------------------------------*/
#if !defined(__CCRX__)
-#define TU_ARGS_NUM(...) _TU_NARG(_0, ##__VA_ARGS__,_RSEQ_N())
+#define TU_ARGS_NUM(...) _TU_NARG(_0, ##__VA_ARGS__, _RSEQ_N())
#else
-#define TU_ARGS_NUM(...) _TU_NARG(_0, __VA_ARGS__,_RSEQ_N())
+#define TU_ARGS_NUM(...) _TU_NARG(_0, __VA_ARGS__, _RSEQ_N())
#endif
#define _TU_NARG(...) _GET_NTH_ARG(__VA_ARGS__)