mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-22 10:20:55 +00:00
slightly clean up
This commit is contained in:
parent
5c428d35a6
commit
20ef6c4ef7
@ -341,8 +341,7 @@ bool hub_xfer_cb(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t result, uint32
|
|||||||
// The status change event was neither for the hub, nor for any of its ports.
|
// The status change event was neither for the hub, nor for any of its ports.
|
||||||
// This shouldn't happen, but it does with some devices.
|
// This shouldn't happen, but it does with some devices.
|
||||||
// Initiate the next interrupt poll here.
|
// Initiate the next interrupt poll here.
|
||||||
hub_edpt_status_xfer(dev_addr);
|
return hub_edpt_status_xfer(dev_addr);
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tu_bit_test(status_change, 0)) {
|
if (tu_bit_test(status_change, 0)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user