|
|
@@ -407,7 +407,7 @@ bool mscd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t event, uint32_t
|
|
|
TU_ASSERT( event == XFER_RESULT_SUCCESS &&
|
|
|
xferred_bytes == sizeof(msc_cbw_t) && p_cbw->signature == MSC_CBW_SIGNATURE );
|
|
|
|
|
|
- TU_LOG2(" SCSI Command: %s\n", lookup_find(&_msc_scsi_cmd_table, p_cbw->command[0]));
|
|
|
+ TU_LOG2(" SCSI Command: %s\r\n", lookup_find(&_msc_scsi_cmd_table, p_cbw->command[0]));
|
|
|
// TU_LOG2_MEM(p_cbw, xferred_bytes, 2);
|
|
|
|
|
|
p_csw->signature = MSC_CSW_SIGNATURE;
|
|
|
@@ -480,7 +480,7 @@ bool mscd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t event, uint32_t
|
|
|
break;
|
|
|
|
|
|
case MSC_STAGE_DATA:
|
|
|
- TU_LOG2(" SCSI Data\n");
|
|
|
+ TU_LOG2(" SCSI Data\r\n");
|
|
|
//TU_LOG2_MEM(_mscd_buf, xferred_bytes, 2);
|
|
|
|
|
|
// OUT transfer, invoke callback if needed
|
|
|
@@ -577,7 +577,7 @@ bool mscd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t event, uint32_t
|
|
|
// Wait for the Status phase to complete
|
|
|
if( (ep_addr == p_msc->ep_in) && (xferred_bytes == sizeof(msc_csw_t)) )
|
|
|
{
|
|
|
- TU_LOG2(" SCSI Status: %u\n", p_csw->status);
|
|
|
+ TU_LOG2(" SCSI Status: %u\r\n", p_csw->status);
|
|
|
// TU_LOG2_MEM(p_csw, xferred_bytes, 2);
|
|
|
|
|
|
// Move to default CMD stage
|