diff options
| author | hathach <[email protected]> | 2018-12-10 05:33:25 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-10 05:33:25 +0700 |
| commit | 75baedf27d09e57deb9d88cc7c82d95b0d530bca (patch) | |
| tree | 44e55af834a12cc56bc8ef792f4d04e82cf283df /src/host/hcd.h | |
| parent | 8ef93ef85dfa68916706a25fecd8590ffad11dc2 (diff) | |
removing pipe handle, remove xfer type
Diffstat (limited to 'src/host/hcd.h')
| -rw-r--r-- | src/host/hcd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h index 8ee06b2be..14ec68a48 100644 --- a/src/host/hcd.h +++ b/src/host/hcd.h @@ -94,7 +94,7 @@ enum { //--------------------------------------------------------------------+
typedef struct {
uint8_t dev_addr;
- uint8_t xfer_type;
+ uint8_t reserved;
uint8_t index;
uint8_t ep_addr;
} pipe_handle_t;
@@ -106,7 +106,7 @@ static inline bool pipehandle_is_valid(pipe_handle_t pipe_hdl) static inline bool pipehandle_is_equal(pipe_handle_t x, pipe_handle_t y)
{
- return (x.dev_addr == y.dev_addr) && (x.xfer_type == y.xfer_type) && (x.index == y.index);
+ return (x.dev_addr == y.dev_addr) && (x.index == y.index);
}
//--------------------------------------------------------------------+
|
