summaryrefslogtreecommitdiff
path: root/src/common/tusb_types.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-11-04 17:20:58 +0700
committerhathach <[email protected]>2024-11-04 17:20:58 +0700
commit80ad7c4e87b74b1bccc4f566a3cee8d1ff0fafc9 (patch)
tree8a012b078b15e538272a8116975d513682a4a2b3 /src/common/tusb_types.h
parent5d6d905cb063f7a4f13cf0c8160dbf6371e70e4c (diff)
add tusb_time_millis_api() and default/weak tusb_time_delay_ms_api(). Which is required for host and some device without RTOS.
Diffstat (limited to 'src/common/tusb_types.h')
-rw-r--r--src/common/tusb_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h
index 92cebc42b..d045a3c8f 100644
--- a/src/common/tusb_types.h
+++ b/src/common/tusb_types.h
@@ -264,7 +264,7 @@ typedef enum {
} microsoft_os_20_type_t;
enum {
- CONTROL_STAGE_IDLE,
+ CONTROL_STAGE_IDLE = 0,
CONTROL_STAGE_SETUP,
CONTROL_STAGE_DATA,
CONTROL_STAGE_ACK