summaryrefslogtreecommitdiff
path: root/src/host/usbh.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-05-31 15:41:40 +0700
committerhathach <[email protected]>2021-05-31 15:47:37 +0700
commit4b2f32b7786674a1a5ccf7347a2e67e68665e1c3 (patch)
treee70e73dd70101e0ceece6c15567d7cd962e77b70 /src/host/usbh.c
parent65e5872d8109f7f12c48c52a5fdd537e676b0514 (diff)
update hub
Diffstat (limited to 'src/host/usbh.c')
-rw-r--r--src/host/usbh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index ac0b654ef..e50421b43 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -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
};