update hub

This commit is contained in:
hathach
2021-05-31 15:41:40 +07:00
parent 65e5872d81
commit 4b2f32b778
2 changed files with 103 additions and 125 deletions

View File

@@ -455,7 +455,7 @@ void hcd_event_device_attach(uint8_t rhport, bool in_isr)
{
hcd_event_t event =
{
.rhport = rhport,
.rhport = rhport,
.event_id = HCD_EVENT_DEVICE_ATTACH
};
@@ -469,7 +469,7 @@ void hcd_event_device_remove(uint8_t hostid, bool in_isr)
{
hcd_event_t event =
{
.rhport = hostid,
.rhport = hostid,
.event_id = HCD_EVENT_DEVICE_REMOVE
};