summaryrefslogtreecommitdiff
path: root/src/class/msc/msc_host.h
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2023-10-10 15:02:25 +0200
committerHiFiPhile <[email protected]>2023-10-10 15:02:25 +0200
commitb5c839f739280a59dec8e2fe082005518dfc19c8 (patch)
tree8140b74bfddb16a6ed5a0dcff13a22727da3a727 /src/class/msc/msc_host.h
parent6be7f354c26e09a87d1b856b0e237ff82be5963f (diff)
parent513ab37ec6f394d5332d159a62afa468a1a0a7cb (diff)
Merge branch 'master' of https://github.com/hathach/tinyusb into uac_interl
Diffstat (limited to 'src/class/msc/msc_host.h')
-rw-r--r--src/class/msc/msc_host.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/class/msc/msc_host.h b/src/class/msc/msc_host.h
index 6c0e5c9dd..9ca1b4703 100644
--- a/src/class/msc/msc_host.h
+++ b/src/class/msc/msc_host.h
@@ -24,8 +24,8 @@
* This file is part of the TinyUSB stack.
*/
-#ifndef _TUSB_MSC_HOST_H_
-#define _TUSB_MSC_HOST_H_
+#ifndef TUSB_MSC_HOST_H_
+#define TUSB_MSC_HOST_H_
#include "msc.h"
@@ -73,7 +73,7 @@ uint32_t tuh_msc_get_block_size(uint8_t dev_addr, uint8_t lun);
// Perform a full SCSI command (cbw, data, csw) in non-blocking manner.
// Complete callback is invoked when SCSI op is complete.
// return true if success, false if there is already pending operation.
-bool tuh_msc_scsi_command(uint8_t dev_addr, msc_cbw_t const* cbw, void* data, tuh_msc_complete_cb_t complete_cb, uintptr_t arg);
+bool tuh_msc_scsi_command(uint8_t daddr, msc_cbw_t const* cbw, void* data, tuh_msc_complete_cb_t complete_cb, uintptr_t arg);
// Perform SCSI Inquiry command
// Complete callback is invoked when SCSI op is complete.
@@ -123,4 +123,4 @@ bool msch_xfer_cb (uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, ui
}
#endif
-#endif /* _TUSB_MSC_HOST_H_ */
+#endif