summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-04-10 13:54:50 +0700
committerhathach <[email protected]>2020-04-10 13:54:50 +0700
commit1b3d1b52c9351391f62dea374345c8de7f985b0f (patch)
tree9ce983bdf7dc8cc263b75918c58e280e0876770e /src/device
parent778db647c49da797c4d2d4d8bf62caa83ca1d6c7 (diff)
fix uint32_t format with log
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index 125aa351c..397a681ed 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -421,7 +421,7 @@ void tud_task (void)
uint8_t const epnum = tu_edpt_number(ep_addr);
uint8_t const ep_dir = tu_edpt_dir(ep_addr);
- TU_LOG2(" Endpoint: 0x%02X, Bytes: %lu\r\n", ep_addr, event.xfer_complete.len);
+ TU_LOG2(" Endpoint: 0x%02X, Bytes: %u\r\n", ep_addr, (unsigned int) event.xfer_complete.len);
_usbd_dev.ep_status[epnum][ep_dir].busy = false;