add in_isr to all hcd event functions

This commit is contained in:
hathach
2020-09-05 15:45:03 +07:00
parent 90c8c14652
commit b8b95e8494
6 changed files with 32 additions and 30 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ void hub_xfer_cb(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_
event.attach.hub_port = port;
hcd_event_handler(&event, true);
break; // handle one port at a time, next port if any will be handled in the next cycle
break; // TODO handle one port at a time, next port if any will be handled in the next cycle
}
}
// NOTE: next status transfer is queued by usbh.c after handling this request