summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-06-01 22:56:18 +0700
committerGitHub <[email protected]>2023-06-01 22:56:18 +0700
commit002cb9289d7e8f7efa807356aa8af7f4c67583a8 (patch)
tree763f33a456fd7bdd717b56fdde5cc23952253074 /src
parentcbbd858be407bbc9e0dda81c73fa7433df19d579 (diff)
parent70a92291fe84eb57844a331749ceecb6d2f1f544 (diff)
Merge pull request #2089 from DRNadler/master
Fix diagnostic format string (missing %u)
Diffstat (limited to 'src')
-rw-r--r--src/host/usbh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index 7b265c742..6159044ab 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -1179,7 +1179,7 @@ static void process_removing_device(uint8_t rhport, uint8_t hub_addr, uint8_t hu
TU_LOG_USBH("Device unplugged address = %u\r\n", daddr);
if (is_hub_addr(daddr)) {
- TU_LOG(USBH_DEBUG, " is a HUB device\r\n", daddr);
+ TU_LOG(USBH_DEBUG, " is a HUB device %u\r\n", daddr);
// Submit removed event If the device itself is a hub (un-rolled recursive)
// TODO a better to unroll recursrive is using array of removing_hubs and mark it here