diff options
| author | YixingShen <[email protected]> | 2024-01-26 09:09:44 +0800 |
|---|---|---|
| committer | YixingShen <[email protected]> | 2024-01-26 09:09:44 +0800 |
| commit | 2f2d2bcf3e1fd09fa15015efaae686dd65612c30 (patch) | |
| tree | 45f89e794e57cdbd90b5851091c615ea16506195 /src/host/hub.c | |
| parent | 4c9f462423338a812378924233eac55ce0e96fb8 (diff) | |
| parent | b7134934363b88881e4767a16eecb22cad410d73 (diff) | |
Merge branch 'master' of https://github.com/YixingShen/tinyusb
Diffstat (limited to 'src/host/hub.c')
| -rw-r--r-- | src/host/hub.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/host/hub.c b/src/host/hub.c index 32f5e0ac7..3bac18698 100644 --- a/src/host/hub.c +++ b/src/host/hub.c @@ -435,9 +435,12 @@ static void hub_port_get_status_complete (tuh_xfer_t* xfer) // Other changes are: L1 state // TODO clear change - // prepare for next hub status - // TODO continue with status_change, or maybe we can do it again with status - hub_edpt_status_xfer(daddr); + else + { + // prepare for next hub status + // TODO continue with status_change, or maybe we can do it again with status + hub_edpt_status_xfer(daddr); + } } } |
