summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-01-30 16:42:56 +0700
committerhathach <[email protected]>2023-01-30 16:42:56 +0700
commitcc1878447990aa01a99351cafe8bd899bd37b4e0 (patch)
tree545a03d2d30b12df33a1d4d1417d592bf2e9f84b /src
parentdf2ebe5d1a5da6b232704c2b6a35e66823f4127d (diff)
hardcoded configPRIO_BITS for IAR build to pass CI
Diffstat (limited to 'src')
-rw-r--r--src/tusb_option.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 67377b7ec..cf5b21c9c 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -27,9 +27,6 @@
#ifndef _TUSB_OPTION_H_
#define _TUSB_OPTION_H_
-// To avoid GCC compiler warnings when -pedantic option is used (strict ISO C)
-typedef int make_iso_compilers_happy;
-
#include "common/tusb_compiler.h"
#define TUSB_VERSION_MAJOR 0
@@ -435,6 +432,9 @@ typedef int make_iso_compilers_happy;
#error Control Endpoint Max Packet Size cannot be larger than 64
#endif
+// To avoid GCC compiler warnings when -pedantic option is used (strict ISO C)
+typedef int make_iso_compilers_happy;
+
#endif /* _TUSB_OPTION_H_ */
/** @} */