diff options
| author | hathach <[email protected]> | 2013-07-02 17:37:55 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-07-02 17:37:55 +0700 |
| commit | 539c7cdbe16d7805eac053a6779f509a4c9b4c68 (patch) | |
| tree | c6dd166cb24c60c17dbe33ee78c25a0811300465 /tinyusb/host/usbh.c | |
| parent | e1ad7b62cf453735b3f8b9d97abe2b3e6579a099 (diff) | |
update usbh_xfer_isr to take actual byte transferred and correct tests
Diffstat (limited to 'tinyusb/host/usbh.c')
| -rw-r--r-- | tinyusb/host/usbh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/host/usbh.c b/tinyusb/host/usbh.c index f5689b07c..794fd3be7 100644 --- a/tinyusb/host/usbh.c +++ b/tinyusb/host/usbh.c @@ -236,7 +236,7 @@ tusb_interface_status_t usbh_pipe_status_get(pipe_handle_t pipe_hdl) // USBH-HCD ISR/Callback API //--------------------------------------------------------------------+ // interrupt caused by a TD (with IOC=1) in pipe of class class_code -void usbh_xfer_isr(pipe_handle_t pipe_hdl, uint8_t class_code, tusb_event_t event) +void usbh_xfer_isr(pipe_handle_t pipe_hdl, uint8_t class_code, tusb_event_t event, uint32_t xferred_bytes) { uint8_t class_index = std_class_code_to_index(class_code); if (TUSB_XFER_CONTROL == pipe_hdl.xfer_type) |
