Skip to content

Commit 20ef6c4

Browse files
committed
slightly clean up
1 parent 5c428d3 commit 20ef6c4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/host/hub.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,7 @@ bool hub_xfer_cb(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t result, uint32
341341
// The status change event was neither for the hub, nor for any of its ports.
342342
// This shouldn't happen, but it does with some devices.
343343
// Initiate the next interrupt poll here.
344-
hub_edpt_status_xfer(dev_addr);
345-
return true;
344+
return hub_edpt_status_xfer(dev_addr);
346345
}
347346

348347
if (tu_bit_test(status_change, 0)) {

0 commit comments

Comments
 (0)