rename user_arg to user_data

This commit is contained in:
hathach
2022-03-17 22:37:51 +07:00
parent 9dd2f11f4a
commit f89ff939d8
7 changed files with 95 additions and 85 deletions

View File

@@ -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);