diff options
| author | hathach <[email protected]> | 2022-11-28 23:22:10 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-11-28 23:22:10 +0700 |
| commit | b2a3f33046fe736557ad1a4bc9c0da76e47e68f3 (patch) | |
| tree | db0297ff562b58634ce4073e3cf6bec66e749807 /src/common | |
| parent | 5785467016f4f2d0f5e52cec70f4f2328a5d326a (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.h | 2 |
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, |
