refactor usbh class driver

This commit is contained in:
hathach
2018-12-10 05:07:22 +07:00
parent 05913a7350
commit 6a6e7d0ecb
6 changed files with 140 additions and 112 deletions

View File

@@ -96,7 +96,7 @@ typedef struct {
uint8_t dev_addr;
uint8_t xfer_type;
uint8_t index;
uint8_t reserved;
uint8_t ep_addr;
} pipe_handle_t;
static inline bool pipehandle_is_valid(pipe_handle_t pipe_hdl)