diff options
| author | Zixun LI <[email protected]> | 2026-02-15 23:34:18 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-15 23:34:18 +0100 |
| commit | 41a00f498e525c3b8ec0b5aa2b2744acdad799e8 (patch) | |
| tree | 41343c3b576d775286e780cce5dacbf9b4a8af07 /src | |
| parent | da102806114f90e9fec99b875d6dcf0134d873f2 (diff) | |
| parent | 59feef3208b84da0414c5159a9edba7653a82324 (diff) | |
Merge pull request #3502 from roma-jam-lab/dbg/nested_hubs_address_empty_warning
add(usbh.c): LOG1 debug message when no address available for hub
Diffstat (limited to 'src')
| -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 41f41dcfb..d702e9186 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -1841,6 +1841,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 } |
