diff options
| author | hathach <[email protected]> | 2021-08-20 18:26:56 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-08-20 18:26:56 +0700 |
| commit | 62f2efbe8cf1e61f70660abac28f4226bca93daf (patch) | |
| tree | cbd993a9520e94c4617192b02c1332c80365c1d8 /src/host | |
| parent | 1cef2b6a42d93704847c1a6ab82617e5baf04f4a (diff) | |
hid host skip get report descriptor if too large instead of assert
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/usbh.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index 36c2ea7c8..979fc5065 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -892,8 +892,6 @@ static bool parse_configuration_descriptor(uint8_t dev_addr, tusb_desc_configura p_desc = tu_desc_next(p_desc); } - TU_LOG_INT(2, p_desc - (uint8_t*) desc_cfg); - TU_LOG_INT(2, tu_desc_type(p_desc)); TU_ASSERT( TUSB_DESC_INTERFACE == tu_desc_type(p_desc) ); tusb_desc_interface_t const* desc_itf = (tusb_desc_interface_t const*) p_desc; |
