diff options
| author | hathach <[email protected]> | 2023-03-17 14:06:25 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-03-17 14:06:25 +0700 |
| commit | 317177c83d3c28d66bfe60be971ff37a44bd84df (patch) | |
| tree | a52edb182f698a92ed23ce69324526988b337bb0 /src/common | |
| parent | f349ae77029c3a82bd9509c1ad57e3e6cd815596 (diff) | |
update host example, add pio-pico-usb for rp2040
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_common.h | 6 | ||||
| -rw-r--r-- | src/common/tusb_types.h | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h index 957491aa9..faccf8726 100644 --- a/src/common/tusb_common.h +++ b/src/common/tusb_common.h @@ -75,6 +75,12 @@ #include "tusb_timeout.h" // TODO remove +enum +{ + TU_INDEX_INVALID_8 = 0xFFu +}; + + //--------------------------------------------------------------------+ // Optional API implemented by application if needed // TODO move to a more ovious place/file diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h index 7266a525e..d567bd482 100644 --- a/src/common/tusb_types.h +++ b/src/common/tusb_types.h @@ -273,11 +273,6 @@ enum CONTROL_STAGE_ACK }; -enum -{ - TUSB_INDEX_INVALID = 0xff -}; - //--------------------------------------------------------------------+ // USB Descriptors //--------------------------------------------------------------------+ |
