diff options
| author | hathach <[email protected]> | 2013-03-26 13:07:42 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-26 13:07:42 +0700 |
| commit | 3c767e9f44ff6e430f85f7fae7c38ee8aca3b6e2 (patch) | |
| tree | 2aa3fac2e208acd4614dd139eafa6f6b914453d0 /tinyusb/host | |
| parent | 03d045ecde8961ec7ca1579b9d207a0a83d442e3 (diff) | |
add field to endpoint maxpacketsize (mult)
refractor hidh_open_subtask & hidh_keyboard_open
add ATTR_PACKED_STRUCT(x)
- TODO remove ugly pre_pack & post pack
Diffstat (limited to 'tinyusb/host')
| -rw-r--r-- | tinyusb/host/ehci/ehci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/host/ehci/ehci.c b/tinyusb/host/ehci/ehci.c index a8841545e..badb3d06d 100644 --- a/tinyusb/host/ehci/ehci.c +++ b/tinyusb/host/ehci/ehci.c @@ -513,7 +513,7 @@ pipe_handle_t hcd_pipe_open(uint8_t dev_addr, tusb_descriptor_endpoint_t const * ehci_qhd_t * const p_qhd = qhd_find_free(dev_addr); ASSERT_PTR(p_qhd, null_handle); - qhd_init(p_qhd, dev_addr, p_endpoint_desc->wMaxPacketSize, p_endpoint_desc->bEndpointAddress, p_endpoint_desc->bmAttributes.xfer); + qhd_init(p_qhd, dev_addr, p_endpoint_desc->wMaxPacketSize.size, p_endpoint_desc->bEndpointAddress, p_endpoint_desc->bmAttributes.xfer); p_qhd->class_code = class_code; ehci_qhd_t * list_head; |
