Retry a few times with transfers in enumeration since device can be unstable when starting up

This commit is contained in:
hathach
2022-11-28 23:22:10 +07:00
parent 5785467016
commit b2a3f33046
3 changed files with 28 additions and 10 deletions

View File

@@ -225,7 +225,7 @@ enum {
typedef enum
{
XFER_RESULT_SUCCESS,
XFER_RESULT_SUCCESS = 0,
XFER_RESULT_FAILED,
XFER_RESULT_STALLED,
XFER_RESULT_TIMEOUT,