slightly change the signature of tuh_control_xfer

This commit is contained in:
hathach
2022-03-17 17:25:53 +07:00
parent 1ee699d49d
commit 8aedb2ff37
6 changed files with 15 additions and 17 deletions

View File

@@ -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,