diff options
| author | Ha Thach <[email protected]> | 2022-11-29 00:11:41 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-11-29 00:11:41 +0700 |
| commit | 52a9098b31d993d743ee31efe155b90c7ba5b21e (patch) | |
| tree | 21ba4f5f3282d0235ec18f4765ec8a5c17410760 /src/common | |
| parent | 081e4eecba3c91f08cdf96b0a090e7726cec3727 (diff) | |
| parent | be6f6f2c99dde762a70c1c3206e75f5765039bf1 (diff) | |
Merge pull request #1763 from hathach/host-retry-failed-enumeration-request
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, |
