We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff56cb commit d0a75e4Copy full SHA for d0a75e4
src/common/tusb_common.h
@@ -35,7 +35,7 @@
35
// Macros Helper
36
//--------------------------------------------------------------------+
37
#define TU_ARRAY_SIZE(_arr) ( sizeof(_arr) / sizeof(_arr[0]) )
38
-#define TU_FIELD_SZIE(_type, _field) (sizeof(((_type *)0)->_field))
+#define TU_FIELD_SIZE(_type, _field) (sizeof(((_type *)0)->_field))
39
#define TU_MIN(_x, _y) ( ( (_x) < (_y) ) ? (_x) : (_y) )
40
#define TU_MAX(_x, _y) ( ( (_x) > (_y) ) ? (_x) : (_y) )
41
#define TU_DIV_CEIL(n, d) (((n) + (d) - 1) / (d))
0 commit comments