fix bug with rndis overshadow the normal cdc callback
This commit is contained in:
@@ -204,8 +204,8 @@ tusb_error_t cdch_open_subtask(uint8_t dev_addr, tusb_descriptor_interface_t con
|
||||
{
|
||||
OSAL_SUBTASK_INVOKED_AND_WAIT( rndish_open_subtask(dev_addr, p_cdc), error );
|
||||
}
|
||||
else
|
||||
// if ( TUSB_ERROR_NONE != error ) // device is not an rndis
|
||||
|
||||
if ( !(0xff == p_cdc->interface_protocol && TUSB_ERROR_NONE == error) ) // device is not an rndis
|
||||
#endif
|
||||
|
||||
// FIXME mounted class flag is not set yet
|
||||
|
||||
Reference in New Issue
Block a user