From fe53297b17f59307d11ebfd303b8d09c7070ff4d Mon Sep 17 00:00:00 2001 From: hathach Date: Sat, 22 Jun 2013 22:26:00 +0700 Subject: fix bug with custom class that terminate xfer after the first QTD --- tinyusb/class/custom_class_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinyusb/class') 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; } -- cgit v1.3.1