summaryrefslogtreecommitdiff
path: root/src/class/hid
diff options
context:
space:
mode:
authorgraham sanderson <[email protected]>2024-07-17 21:08:55 -0500
committerLiam Fraser <[email protected]>2024-07-18 11:11:06 +0100
commit31a979a6cccc2d4dc0a86474643710ae3b7f34fe (patch)
treeae7bc5ac9afbc9c4d255af8495d017fa603e3a4f /src/class/hid
parent5f6152a87e2a2fd07ed0cdbf6cf2300cb4fc6342 (diff)
fix some clang compiler warnings
Diffstat (limited to 'src/class/hid')
-rw-r--r--src/class/hid/hid_host.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/class/hid/hid_host.c b/src/class/hid/hid_host.c
index 115a8a4df..7639a8fc6 100644
--- a/src/class/hid/hid_host.c
+++ b/src/class/hid/hid_host.c
@@ -657,7 +657,9 @@ uint8_t tuh_hid_parse_report_descriptor(tuh_hid_report_info_t* report_info_arr,
uint8_t const data8 = desc_report[0];
TU_LOG(3, "tag = %d, type = %d, size = %d, data = ", tag, type, size);
- for (uint32_t i = 0; i < size; i++) TU_LOG(3, "%02X ", desc_report[i]);
+ for (uint32_t i = 0; i < size; i++) {
+ TU_LOG(3, "%02X ", desc_report[i]);
+ }
TU_LOG(3, "\r\n");
switch (type) {