mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-20 04:21:29 +00:00
Merge pull request #2400 from Ryzee119/hub_fix
[HUB] Fix double status xfer
This commit is contained in:
commit
f2f40c0965
@ -435,10 +435,13 @@ static void hub_port_get_status_complete (tuh_xfer_t* xfer)
|
|||||||
// Other changes are: L1 state
|
// Other changes are: L1 state
|
||||||
// TODO clear change
|
// TODO clear change
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
// prepare for next hub status
|
// prepare for next hub status
|
||||||
// TODO continue with status_change, or maybe we can do it again with status
|
// TODO continue with status_change, or maybe we can do it again with status
|
||||||
hub_edpt_status_xfer(daddr);
|
hub_edpt_status_xfer(daddr);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void connection_clear_conn_change_complete (tuh_xfer_t* xfer)
|
static void connection_clear_conn_change_complete (tuh_xfer_t* xfer)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user