summaryrefslogtreecommitdiff
path: root/src/common/tusb_common.h
diff options
context:
space:
mode:
authorMengsk <[email protected]>2025-10-06 17:13:56 +0200
committerMengsk <[email protected]>2025-10-06 17:13:56 +0200
commitfedcdefa3d6f677aaa7dbd97577facd719eceadb (patch)
tree00c3d236e1e13448ff63a1b39c76e9ce7b252acb /src/common/tusb_common.h
parent5ac0bed779ec43cc74f8ed990a01165139454267 (diff)
parent7a96291bf1fc88b7bacd387f1b236fa89470045f (diff)
Merge remote-tracking branch 'tinyusb/master' into dwc2_ep0
Diffstat (limited to 'src/common/tusb_common.h')
-rw-r--r--src/common/tusb_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h
index 12dea2183..2b095e238 100644
--- a/src/common/tusb_common.h
+++ b/src/common/tusb_common.h
@@ -35,7 +35,7 @@
// Macros Helper
//--------------------------------------------------------------------+
#define TU_ARRAY_SIZE(_arr) ( sizeof(_arr) / sizeof(_arr[0]) )
-#define TU_FIELD_SZIE(_type, _field) (sizeof(((_type *)0)->_field))
+#define TU_FIELD_SIZE(_type, _field) (sizeof(((_type *)0)->_field))
#define TU_MIN(_x, _y) ( ( (_x) < (_y) ) ? (_x) : (_y) )
#define TU_MAX(_x, _y) ( ( (_x) > (_y) ) ? (_x) : (_y) )
#define TU_DIV_CEIL(n, d) (((n) + (d) - 1) / (d))