summaryrefslogtreecommitdiff
path: root/src/host/usbh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/usbh.c')
-rw-r--r--src/host/usbh.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index ae337d867..f32d1336d 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -1961,6 +1961,12 @@ static uint8_t enum_get_new_address(bool is_hub) {
}
}
+#if CFG_TUH_HUB
+ if ( is_hub ) {
+ TU_LOG1("All addresses are occupied, try to increase CFG_TUH_HUB value.\r\n");
+ }
+#endif // CFG_TUH_HUB
+
return 0; // invalid address
}