summaryrefslogtreecommitdiff
path: root/tinyusb/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-11-15 00:01:07 +0700
committerhathach <[email protected]>2013-11-15 00:01:07 +0700
commitba49d26e19bc8dc2f90dff94eb3788a8074362e2 (patch)
tree6c7e52a7d6d0b7f6b7bdc29d1a0d7011e403a25f /tinyusb/class
parent6e8440afe555cc8c47b8ef1fdce56bb5d37231a8 (diff)
fix build error with device 43xx
refractor mscd ramdisk demo
Diffstat (limited to 'tinyusb/class')
-rw-r--r--tinyusb/class/msc_device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tinyusb/class/msc_device.c b/tinyusb/class/msc_device.c
index b4c1c520d..a975e759e 100644
--- a/tinyusb/class/msc_device.c
+++ b/tinyusb/class/msc_device.c
@@ -176,8 +176,7 @@ void mscd_isr(endpoint_handle_t edpt_hdl, tusb_event_t event, uint32_t xferred_b
}
//------------- Status Phase -------------//
- // TODO need to be true for dcd_lpc43xx to clean up qtd !!!
- ASSERT( dcd_pipe_xfer( p_msc->edpt_in , &p_msc->csw, sizeof(msc_cmd_status_wrapper_t), true) == TUSB_ERROR_NONE, VOID_RETURN );
+ ASSERT( dcd_pipe_xfer( p_msc->edpt_in , &p_msc->csw, sizeof(msc_cmd_status_wrapper_t), true) == TUSB_ERROR_NONE, VOID_RETURN ); // need to be true for dcd to clean up qtd !!
//------------- Queue the next CBW -------------//
ASSERT( dcd_pipe_xfer( p_msc->edpt_out, &p_msc->cbw, sizeof(msc_cmd_block_wrapper_t), true) == TUSB_ERROR_NONE, VOID_RETURN );