summaryrefslogtreecommitdiff
path: root/src/class/cdc/cdc_host.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-03-17 22:37:51 +0700
committerhathach <[email protected]>2022-03-17 22:37:51 +0700
commitf89ff939d8088135cedaa4e4f3885f88d1670529 (patch)
tree9f9bda7cd36da7e79891d419e8290584244ac535 /src/class/cdc/cdc_host.c
parent9dd2f11f4a08c337096776eacd919faec3cc939e (diff)
rename user_arg to user_data
Diffstat (limited to 'src/class/cdc/cdc_host.c')
-rw-r--r--src/class/cdc/cdc_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_host.c b/src/class/cdc/cdc_host.c
index a811eb667..2795750ed 100644
--- a/src/class/cdc/cdc_host.c
+++ b/src/class/cdc/cdc_host.c
@@ -144,7 +144,7 @@ bool tuh_cdc_set_control_line_state(uint8_t dev_addr, bool dtr, bool rts, tuh_xf
.setup = &request,
.buffer = NULL,
.complete_cb = complete_cb,
- .user_arg = 0
+ .user_data = 0
};
return tuh_control_xfer(dev_addr, &xfer);