summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-03-18 11:22:44 +0700
committerhathach <[email protected]>2023-03-18 11:22:44 +0700
commitd919f107c71021b2dfa20cd9bfe252c4f544422f (patch)
tree7229df7bda8d32c9f8e59a2ef609fbbe5d98dcac /src/common
parentbdfcd50b1b601f85389a09cdaf183b2f27c1d470 (diff)
minor clean up
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_compiler.h b/src/common/tusb_compiler.h
index cea876413..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
+ #define TU_ATTR_FALLTHROUGH do {} while (0) /* fallthrough */
#define TU_ATTR_PACKED_BEGIN
#define TU_ATTR_PACKED_END