summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-05-22 22:43:55 +0700
committerhathach <[email protected]>2021-05-22 22:43:55 +0700
commitf13a3c04f790a865472a7ed0b57182f401189977 (patch)
tree1bfda07c999d273ce3a0070bfd87061d4c2965cf /src
parenta2c4a48dd627828f5899e5ab70412594b60f37c6 (diff)
fix missing report in tuh_hid_set_report()
Diffstat (limited to 'src')
-rw-r--r--src/class/hid/hid_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid_host.c b/src/class/hid/hid_host.c
index 778a897be..6c0c97095 100644
--- a/src/class/hid/hid_host.c
+++ b/src/class/hid/hid_host.c
@@ -190,7 +190,7 @@ bool tuh_hid_set_report(uint8_t dev_addr, uint8_t instance, uint8_t report_id, u
.wLength = len
};
- TU_ASSERT( tuh_control_xfer(dev_addr, &request, NULL, set_report_complete) );
+ TU_ASSERT( tuh_control_xfer(dev_addr, &request, report, set_report_complete) );
return true;
}