diff options
| author | hathach <[email protected]> | 2018-03-06 17:16:43 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-06 17:16:43 +0700 |
| commit | 792f51a927a85c27d4e26c0a6dc8202280613991 (patch) | |
| tree | 656ba255d8bcd50f972e21edffaf66115472d5de /tinyusb/class | |
| parent | 52de428fbe036aa98cffe967d891f2e7db6c9ec3 (diff) | |
rename hal_dcd_pipe_stall()
Diffstat (limited to 'tinyusb/class')
| -rw-r--r-- | tinyusb/class/msc_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/class/msc_device.c b/tinyusb/class/msc_device.c index 7e787c492..ac5953662 100644 --- a/tinyusb/class/msc_device.c +++ b/tinyusb/class/msc_device.c @@ -186,7 +186,7 @@ tusb_error_t mscd_xfer_cb(endpoint_handle_t edpt_hdl, tusb_event_t event, uint32 if ( p_buffer == NULL || actual_length == 0 )
{ // application does not provide data to response --> possibly unsupported SCSI command
- ASSERT_STATUS( dcd_pipe_stall(edpt_data) );
+ hal_dcd_pipe_stall(edpt_data);
p_csw->status = MSC_CSW_STATUS_FAILED;
}else
{
@@ -241,7 +241,7 @@ static bool read10_write10_data_xfer(mscd_interface_t* p_msc) p_csw->data_residue = p_cbw->xfer_bytes;
p_csw->status = MSC_CSW_STATUS_FAILED;
- (void) dcd_pipe_stall(edpt_hdl);
+ hal_dcd_pipe_stall(edpt_hdl);
return true;
} else if (xferred_block < block_count)
|
