diff options
| author | Ha Thach <[email protected]> | 2023-06-12 23:14:48 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-12 23:14:48 +0700 |
| commit | bbc76e77779a88fddcfc4d38a406edff2b4d09fb (patch) | |
| tree | 8384cc562433893165ef8d2c403f3b8d22aa7e65 /src/common/tusb_types.h | |
| parent | 39a64334aaf815b1b01e246680dd1e2d21f9fd18 (diff) | |
| parent | 41801c2a6bd146033f5ff00e54983de46ab414b9 (diff) | |
Merge pull request #2104 from hathach/g4-pd
Initial support for USB PD stack
Diffstat (limited to 'src/common/tusb_types.h')
| -rw-r--r-- | src/common/tusb_types.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h index 39a2d4564..fab680989 100644 --- a/src/common/tusb_types.h +++ b/src/common/tusb_types.h @@ -232,6 +232,9 @@ enum { #define TUSB_DESC_CONFIG_POWER_MA(x) ((x)/2) +//--------------------------------------------------------------------+ +// +//--------------------------------------------------------------------+ typedef enum { XFER_RESULT_SUCCESS = 0, @@ -474,9 +477,10 @@ typedef struct TU_ATTR_PACKED uint16_t bcdDFUVersion; } tusb_desc_dfu_functional_t; -/*------------------------------------------------------------------*/ -/* Types - *------------------------------------------------------------------*/ +//--------------------------------------------------------------------+ +// +//--------------------------------------------------------------------+ + typedef struct TU_ATTR_PACKED{ union { struct TU_ATTR_PACKED { |
