summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-11-28 23:22:10 +0700
committerhathach <[email protected]>2022-11-28 23:22:10 +0700
commitb2a3f33046fe736557ad1a4bc9c0da76e47e68f3 (patch)
treedb0297ff562b58634ce4073e3cf6bec66e749807 /src/common
parent5785467016f4f2d0f5e52cec70f4f2328a5d326a (diff)
Retry a few times with transfers in enumeration since device can be unstable when starting up
Diffstat (limited to 'src/common')
-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 e11f08dd1..1bfa7c7d1 100644
--- a/src/common/tusb_types.h
+++ b/src/common/tusb_types.h
@@ -225,7 +225,7 @@ enum {
typedef enum
{
- XFER_RESULT_SUCCESS,
+ XFER_RESULT_SUCCESS = 0,
XFER_RESULT_FAILED,
XFER_RESULT_STALLED,
XFER_RESULT_TIMEOUT,