summaryrefslogtreecommitdiff
path: root/src/class/cdc
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-03-17 17:25:53 +0700
committerhathach <[email protected]>2022-03-17 17:25:53 +0700
commit8aedb2ff37901d2d08c28308e2527d73ab179f5c (patch)
tree23bef76a57f28517b26e723764747b582c90f0ba /src/class/cdc
parent1ee699d49d6da7ce8b92cde1636e34ed90ff6396 (diff)
slightly change the signature of tuh_control_xfer
Diffstat (limited to 'src/class/cdc')
-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 9838df818..7ae8af77a 100644
--- a/src/class/cdc/cdc_host.c
+++ b/src/class/cdc/cdc_host.c
@@ -138,7 +138,7 @@ bool tuh_cdc_set_control_line_state(uint8_t dev_addr, bool dtr, bool rts, tuh_co
.wLength = 0
};
- tuh_control_xfer_t const xfer =
+ tuh_control_xfer_t xfer =
{
.ep_addr = 0,
.setup = &request,