diff options
| author | hathach <[email protected]> | 2013-06-22 22:26:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-06-22 22:26:00 +0700 |
| commit | fe53297b17f59307d11ebfd303b8d09c7070ff4d (patch) | |
| tree | 9e864b8793e32350950c38362aebd6e05e7ede12 /tinyusb/class/custom_class_host.c | |
| parent | 54c065b1d55c1354b00c58fb6bce6f8f6bd6617b (diff) | |
fix bug with custom class that terminate xfer after the first QTD
Diffstat (limited to 'tinyusb/class/custom_class_host.c')
| -rw-r--r-- | tinyusb/class/custom_class_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/custom_class_host.c b/tinyusb/class/custom_class_host.c index 87e910bbe..e0f9ce5b0 100644 --- a/tinyusb/class/custom_class_host.c +++ b/tinyusb/class/custom_class_host.c @@ -73,7 +73,7 @@ tusb_error_t tusbh_custom_read(uint8_t dev_addr, uint16_t vendor_id, uint16_t pr return TUSB_ERROR_INTERFACE_IS_BUSY; } - (void) hcd_pipe_xfer( custom_interface[dev_addr-1].pipe_in, p_buffer, length, false); + (void) hcd_pipe_xfer( custom_interface[dev_addr-1].pipe_in, p_buffer, length, true); return TUSB_ERROR_NONE; } |
