diff options
| author | Cédric Berger <[email protected]> | 2026-02-22 21:39:14 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-22 21:39:14 +0100 |
| commit | 942479407e3bfb4e0800aeb428dc2a3d03d77ded (patch) | |
| tree | f6f65d88bfe1789f06c1d788994bb73f4871cc5f /src/host/usbh.c | |
| parent | 90d0514630d9b0f6d50881aabd82dcd613141f6b (diff) | |
| parent | dc072da5cc6a6b326a832f104c0a395d119ce35c (diff) | |
Merge branch 'hathach:master' into non-blocking-host-v2
Diffstat (limited to 'src/host/usbh.c')
| -rw-r--r-- | src/host/usbh.c | 6 |
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 } |
