fix some clang compiler warnings

This commit is contained in:
graham sanderson
2024-07-17 21:08:55 -05:00
committed by Liam Fraser
parent 5f6152a87e
commit 31a979a6cc
3 changed files with 5 additions and 1 deletions

View File

@@ -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) {