diff options
| author | Ha Thach <[email protected]> | 2023-03-18 12:13:08 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-18 12:13:08 +0700 |
| commit | f1a859d90701564dc6e152197454fae1f49ee846 (patch) | |
| tree | 7ed7c12f7b0f493a887b76ffce348856426eaa1e /src/common | |
| parent | 65ee11ff630169c01a33860fbf8507d2d8f29a71 (diff) | |
| parent | 9f54cc1eb725e7d77a5b275b209d8257b180d7ed (diff) | |
Merge pull request #1639 from bavison/portability
Fixes for building with IAR toolchain
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_compiler.h b/src/common/tusb_compiler.h index 1057d7ca3..713bbb8d4 100644 --- a/src/common/tusb_compiler.h +++ b/src/common/tusb_compiler.h @@ -196,7 +196,7 @@ #define TU_ATTR_DEPRECATED(mess) __attribute__ ((deprecated(mess))) // warn if function with this attribute is used #define TU_ATTR_UNUSED __attribute__ ((unused)) // Function/Variable is meant to be possibly unused #define TU_ATTR_USED __attribute__ ((used)) // Function/Variable is meant to be used - #define TU_ATTR_FALLTHROUGH __attribute__((fallthrough)) + #define TU_ATTR_FALLTHROUGH do {} while (0) /* fallthrough */ #define TU_ATTR_PACKED_BEGIN #define TU_ATTR_PACKED_END |
