summaryrefslogtreecommitdiff
path: root/src/class/hid
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/hid
parent1ee699d49d6da7ce8b92cde1636e34ed90ff6396 (diff)
slightly change the signature of tuh_control_xfer
Diffstat (limited to 'src/class/hid')
-rw-r--r--src/class/hid/hid_host.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/class/hid/hid_host.c b/src/class/hid/hid_host.c
index 7986ffc1a..65fccd32a 100644
--- a/src/class/hid/hid_host.c
+++ b/src/class/hid/hid_host.c
@@ -139,7 +139,7 @@ static bool _hidh_set_protocol(uint8_t dev_addr, uint8_t itf_num, uint8_t protoc
.wLength = 0
};
- tuh_control_xfer_t const xfer =
+ tuh_control_xfer_t xfer =
{
.ep_addr = 0,
.setup = &request,
@@ -196,7 +196,7 @@ bool tuh_hid_set_report(uint8_t dev_addr, uint8_t instance, uint8_t report_id, u
.wLength = len
};
- tuh_control_xfer_t const xfer =
+ tuh_control_xfer_t xfer =
{
.ep_addr = 0,
.setup = &request,
@@ -227,7 +227,7 @@ static bool _hidh_set_idle(uint8_t dev_addr, uint8_t itf_num, uint16_t idle_rate
.wLength = 0
};
- tuh_control_xfer_t const xfer =
+ tuh_control_xfer_t xfer =
{
.ep_addr = 0,
.setup = &request,