summaryrefslogtreecommitdiff
path: root/src/class/msc
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-03-17 16:53:54 +0700
committerhathach <[email protected]>2022-03-17 16:53:54 +0700
commitdeab8c276a41577eef3d4f4bd3663a5e1860a76a (patch)
treefb3914f3ba27fbcb8a5e4819d193dad4c79099f2 /src/class/msc
parent6df420f7f31b4fbf9b95987211e9ed9fef58ac00 (diff)
remove const in xfer callback
Diffstat (limited to 'src/class/msc')
-rw-r--r--src/class/msc/msc_host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class/msc/msc_host.c b/src/class/msc/msc_host.c
index ca1080eba..0a3deb2c9 100644
--- a/src/class/msc/msc_host.c
+++ b/src/class/msc/msc_host.c
@@ -358,7 +358,7 @@ bool msch_xfer_cb(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32
// MSC Enumeration
//--------------------------------------------------------------------+
-static bool config_get_maxlun_complete (uint8_t dev_addr, tuh_control_xfer_t const * xfer);
+static bool config_get_maxlun_complete (uint8_t dev_addr, tuh_control_xfer_t* xfer);
static bool config_test_unit_ready_complete(uint8_t dev_addr, msc_cbw_t const* cbw, msc_csw_t const* csw);
static bool config_request_sense_complete(uint8_t dev_addr, msc_cbw_t const* cbw, msc_csw_t const* csw);
static bool config_read_capacity_complete(uint8_t dev_addr, msc_cbw_t const* cbw, msc_csw_t const* csw);
@@ -432,7 +432,7 @@ bool msch_set_config(uint8_t dev_addr, uint8_t itf_num)
return true;
}
-static bool config_get_maxlun_complete (uint8_t dev_addr, tuh_control_xfer_t const * xfer)
+static bool config_get_maxlun_complete (uint8_t dev_addr, tuh_control_xfer_t* xfer)
{
msch_interface_t* p_msc = get_itf(dev_addr);