summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2020-04-10 23:53:03 +0700
committerGitHub <[email protected]>2020-04-10 23:53:03 +0700
commit2ff3f765db7e62201d0491093111b0d649446046 (patch)
tree1f1bee1fe4d844ee8343d725a1af32a85fd32fe7 /src/device
parentbbb0e1088dad9f22b3447cc932270cbc0d84a453 (diff)
parenta37a56acd3ca70e0330d68da866d56faf00e82ce (diff)
Merge pull request #319 from hathach/add-esp32s2
port ESP32 S2
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 ddd99d7f1..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: %ld\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;