summaryrefslogtreecommitdiff
path: root/src/class/msc
diff options
context:
space:
mode:
Diffstat (limited to 'src/class/msc')
-rw-r--r--src/class/msc/msc_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/msc/msc_host.c b/src/class/msc/msc_host.c
index 789ae9c1a..5a34f2d56 100644
--- a/src/class/msc/msc_host.c
+++ b/src/class/msc/msc_host.c
@@ -425,7 +425,7 @@ bool msch_set_config(uint8_t dev_addr, uint8_t itf_num)
.setup = &request,
.buffer = &p_msc->max_lun,
.complete_cb = config_get_maxlun_complete,
- .user_arg = 0
+ .user_data = 0
};
TU_ASSERT(tuh_control_xfer(dev_addr, &xfer));