diff options
| author | hathach <[email protected]> | 2013-11-15 12:30:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-11-15 12:30:22 +0700 |
| commit | fc68439b746a466aa3d0bf197ee3f70cfa079f24 (patch) | |
| tree | a363bb0fe3dce8b250287845c7e640b3e8f5f65a /tinyusb/host | |
| parent | ba49d26e19bc8dc2f90dff94eb3788a8074362e2 (diff) | |
add usbd_task to handle event task eg setup received
Diffstat (limited to 'tinyusb/host')
| -rw-r--r-- | tinyusb/host/usbh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/host/usbh.c b/tinyusb/host/usbh.c index 1de0f0ae0..d058f8b66 100644 --- a/tinyusb/host/usbh.c +++ b/tinyusb/host/usbh.c @@ -266,7 +266,7 @@ void usbh_hub_port_plugged_isr(uint8_t hub_addr, uint8_t hub_port) { osal_queue_send(enum_queue_hdl, &(usbh_enumerate_t){ - .core_id = usbh_devices[hub_addr].core_id, + .core_id = usbh_devices[hub_addr].core_id, .hub_addr = hub_addr, .hub_port = hub_port} ); @@ -276,7 +276,7 @@ void usbh_hcd_rhport_plugged_isr(uint8_t hostid) { osal_queue_send(enum_queue_hdl, &(usbh_enumerate_t){ - .core_id = hostid, + .core_id = hostid, .hub_addr = 0, .hub_port = 0} ); |
