summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-10-06 13:34:05 +0700
committerhathach <[email protected]>2025-10-06 13:34:05 +0700
commit044512c4599339a57019def2d4587e9207a0649e (patch)
tree5b5aaceafdc316e93fbef28615dead45e3042907 /src
parente72a9eb305115af0bc10882f15a987576e985b09 (diff)
fix typo
Diffstat (limited to 'src')
-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))