summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-06-11 19:04:16 +0700
committerhathach <[email protected]>2021-06-11 19:04:16 +0700
commit910e11a8aba7328a3cb61ecf8ac5a10f8a525377 (patch)
tree6845cef34f08d5b13f62e60e0dc3147269de1474
parentdfe5a727c6b236c1b05b5447cdf0535545a6d32e (diff)
fix ci build
-rw-r--r--src/host/usbh.c7
-rw-r--r--src/portable/raspberrypi/rp2040/hcd_rp2040.c1
2 files changed, 4 insertions, 4 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index 81b9e84af..203f9fd54 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -990,13 +990,14 @@ static bool parse_configuration_descriptor(uint8_t dev_addr, tusb_desc_configura
// parse each interfaces
while( p_desc < _usbh_ctrl_buf + desc_cfg->wTotalLength )
{
- tusb_desc_interface_assoc_t const * desc_itf_assoc = NULL;
+ // TODO Do we need to use IAD
+ // tusb_desc_interface_assoc_t const * desc_itf_assoc = NULL;
// Class will always starts with Interface Association (if any) and then Interface descriptor
if ( TUSB_DESC_INTERFACE_ASSOCIATION == tu_desc_type(p_desc) )
{
- desc_itf_assoc = (tusb_desc_interface_assoc_t const *) p_desc;
- p_desc = tu_desc_next(p_desc); // next to Interface
+ // desc_itf_assoc = (tusb_desc_interface_assoc_t const *) p_desc;
+ p_desc = tu_desc_next(p_desc);
}
TU_ASSERT( TUSB_DESC_INTERFACE == tu_desc_type(p_desc) );
diff --git a/src/portable/raspberrypi/rp2040/hcd_rp2040.c b/src/portable/raspberrypi/rp2040/hcd_rp2040.c
index c145082f2..ab8639861 100644
--- a/src/portable/raspberrypi/rp2040/hcd_rp2040.c
+++ b/src/portable/raspberrypi/rp2040/hcd_rp2040.c
@@ -151,7 +151,6 @@ static void hw_handle_buff_status(void)
{
TU_LOG(3, "Single Buffered: ");
}
-
TU_LOG_HEX(3, ep_ctrl);
_handle_buff_status_bit(bit, ep);