summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-01-25 13:25:47 +0700
committerhathach <[email protected]>2021-01-25 13:25:47 +0700
commitec458292fecbf16be425e5497722f647911de969 (patch)
tree866ae3c522d74c5a1147ee7432b5682510220f3a /src/common
parent0fe0757657925c892360b1102cc2f6b4ca9e7a03 (diff)
fix host build
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h
index 5ab15aa3c..2b4ceb69c 100644
--- a/src/common/tusb_types.h
+++ b/src/common/tusb_types.h
@@ -48,7 +48,8 @@ typedef enum
{
TUSB_SPEED_FULL = 0,
TUSB_SPEED_LOW ,
- TUSB_SPEED_HIGH
+ TUSB_SPEED_HIGH,
+ TUSB_SPEED_INVALID = 0xff,
}tusb_speed_t;
/// defined base on USB Specs Endpoint's bmAttributes