defer xfer_isr to xfer_cb

This commit is contained in:
hathach
2020-09-05 14:28:58 +07:00
parent 4d57b4ea33
commit f7cf8cdf27
11 changed files with 70 additions and 44 deletions

View File

@@ -51,17 +51,17 @@ typedef struct
{
uint8_t rhport;
uint8_t event_id;
uint8_t dev_addr;
union
{
struct
{
struct {
uint8_t hub_addr;
uint8_t hub_port;
} attach, remove;
struct
{
// XFER_COMPLETE
struct {
uint8_t ep_addr;
uint8_t result;
uint32_t len;