summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-04-15 23:47:28 +0700
committerhathach <[email protected]>2021-04-15 23:47:28 +0700
commit9ecb91e1bd0ac54c759ac1e91a0714c5a8c49172 (patch)
tree69dbb1a499f10e207a13c4765ba17e3247d078e2 /src
parentfa0d71f2cf26419d01a78227e7689ecb8771e785 (diff)
fix build with LOG=2
Diffstat (limited to 'src')
-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 8b126a9f6..8a3d8ec2f 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -1250,7 +1250,7 @@ bool usbd_edpt_iso_xfer(uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff, uint16_
uint8_t const epnum = tu_edpt_number(ep_addr);
uint8_t const dir = tu_edpt_dir(ep_addr);
- TU_LOG2(" Queue ISO EP %02X with %u bytes ... ", ep_addr, count);
+ TU_LOG2(" Queue ISO EP %02X with %u bytes ... ", ep_addr, total_bytes);
// Attempt to transfer on a busy endpoint, sound like an race condition !
TU_ASSERT(_usbd_dev.ep_status[epnum][dir].busy == 0);