Skip to content

Commit 70a9229

Browse files
committed
Fix diagnostic format string (missing %u)
1 parent cbbd858 commit 70a9229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/host/usbh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ static void process_removing_device(uint8_t rhport, uint8_t hub_addr, uint8_t hu
11791179
TU_LOG_USBH("Device unplugged address = %u\r\n", daddr);
11801180

11811181
if (is_hub_addr(daddr)) {
1182-
TU_LOG(USBH_DEBUG, " is a HUB device\r\n", daddr);
1182+
TU_LOG(USBH_DEBUG, " is a HUB device %u\r\n", daddr);
11831183

11841184
// Submit removed event If the device itself is a hub (un-rolled recursive)
11851185
// TODO a better to unroll recursrive is using array of removing_hubs and mark it here

0 commit comments

Comments
 (0)