diff options
| author | hathach <[email protected]> | 2023-09-25 16:53:11 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-09-25 16:53:11 +0700 |
| commit | a7c136c03f0c4a057f8b49c10ed9cddcecf52879 (patch) | |
| tree | bf511dca83e1ea14489e42574abca1aba4c2a2e1 /src/host | |
| parent | 81cd9951080181234f20d81c831ca0595d499577 (diff) | |
adding host/cdc_msc_hid_freertos example
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/usbh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index e332f35cc..dc2831da3 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -659,7 +659,7 @@ static bool usbh_control_xfer_cb (uint8_t dev_addr, uint8_t ep_addr, xfer_result tusb_control_request_t const * request = &_ctrl_xfer.request; if (XFER_RESULT_SUCCESS != result) { - TU_LOG1("[%u:%u] Control %s, xferred_bytes = %lu\r\n", rhport, dev_addr, result == XFER_RESULT_STALLED ? "STALLED" : "FAILED", xferred_bytes); + TU_LOG1("[%u:%u] Control %s, xferred_bytes = %u\r\n", rhport, dev_addr, result == XFER_RESULT_STALLED ? "STALLED" : "FAILED", xferred_bytes); TU_LOG1_BUF(request, 8); TU_LOG1("\r\n"); |
