diff options
| author | hathach <[email protected]> | 2019-09-13 22:16:24 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-09-13 22:16:24 +0700 |
| commit | ac8c343fef785c9aa19ba628f746e72774b9e8c8 (patch) | |
| tree | 84c068b6bf39a2a799795f455e9ca06ba688e325 /src/common | |
| parent | 064adebbd0c6e35e6a18d5dda3deba232db2690d (diff) | |
fix #154 forward all endpoint recipeint request to class driver
fix typo
remove magic number 0xff of driver id
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h index 4f0105d13..57c6e2fcf 100644 --- a/src/common/tusb_common.h +++ b/src/common/tusb_common.h @@ -38,7 +38,7 @@ //--------------------------------------------------------------------+
// Macros Helper
//--------------------------------------------------------------------+
-#define TU_ARRAY_SZIE(_arr) ( sizeof(_arr) / sizeof(_arr[0]) )
+#define TU_ARRAY_SIZE(_arr) ( sizeof(_arr) / sizeof(_arr[0]) )
#define TU_MIN(_x, _y) ( (_x) < (_y) ) ? (_x) : (_y) )
#define TU_MAX(_x, _y) ( (_x) > (_y) ) ? (_x) : (_y) )
|
