diff options
| author | hathach <[email protected]> | 2025-02-17 22:40:19 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-02-17 22:40:19 +0700 |
| commit | 792a44640509661b11065a8d6ee038d9362a2b9f (patch) | |
| tree | ef5e8401eb9a5c75849ebdab610103cb6ed88e81 /src/common | |
| parent | 18d566b94c8f17d9df04914979997d589b905290 (diff) | |
usbh always retry control transfer (max 3) in case of XFER_RESULT_FAILED.
added tuh_connected()
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_types.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h index 9e4d9380c..42ce5fc12 100644 --- a/src/common/tusb_types.h +++ b/src/common/tusb_types.h @@ -302,9 +302,9 @@ typedef enum { enum { CONTROL_STAGE_IDLE = 0, - CONTROL_STAGE_SETUP, - CONTROL_STAGE_DATA, - CONTROL_STAGE_ACK + CONTROL_STAGE_SETUP, // 1 + CONTROL_STAGE_DATA, // 2 + CONTROL_STAGE_ACK // 3 }; enum { |
