mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-29 01:20:19 +00:00
fix ci build
This commit is contained in:
parent
dfe5a727c6
commit
910e11a8ab
@ -990,13 +990,14 @@ static bool parse_configuration_descriptor(uint8_t dev_addr, tusb_desc_configura
|
|||||||
// parse each interfaces
|
// parse each interfaces
|
||||||
while( p_desc < _usbh_ctrl_buf + desc_cfg->wTotalLength )
|
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
|
// Class will always starts with Interface Association (if any) and then Interface descriptor
|
||||||
if ( TUSB_DESC_INTERFACE_ASSOCIATION == tu_desc_type(p_desc) )
|
if ( TUSB_DESC_INTERFACE_ASSOCIATION == tu_desc_type(p_desc) )
|
||||||
{
|
{
|
||||||
desc_itf_assoc = (tusb_desc_interface_assoc_t const *) p_desc;
|
// desc_itf_assoc = (tusb_desc_interface_assoc_t const *) p_desc;
|
||||||
p_desc = tu_desc_next(p_desc); // next to Interface
|
p_desc = tu_desc_next(p_desc);
|
||||||
}
|
}
|
||||||
|
|
||||||
TU_ASSERT( TUSB_DESC_INTERFACE == tu_desc_type(p_desc) );
|
TU_ASSERT( TUSB_DESC_INTERFACE == tu_desc_type(p_desc) );
|
||||||
|
@ -151,7 +151,6 @@ static void hw_handle_buff_status(void)
|
|||||||
{
|
{
|
||||||
TU_LOG(3, "Single Buffered: ");
|
TU_LOG(3, "Single Buffered: ");
|
||||||
}
|
}
|
||||||
|
|
||||||
TU_LOG_HEX(3, ep_ctrl);
|
TU_LOG_HEX(3, ep_ctrl);
|
||||||
|
|
||||||
_handle_buff_status_bit(bit, ep);
|
_handle_buff_status_bit(bit, ep);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user