clean up tusb_descriptors

This commit is contained in:
hathach
2014-03-18 16:23:23 +07:00
parent 2c4a2e5b9e
commit e73667c078
4 changed files with 31 additions and 31 deletions

View File

@@ -350,7 +350,7 @@ static tusb_error_t get_descriptor(uint8_t coreid, tusb_control_request_t const
{
if ( ! (desc_index < TUSB_CFG_DEVICE_STRING_DESCRIPTOR_COUNT) ) return TUSB_ERROR_DCD_CONTROL_REQUEST_NOT_SUPPORT;
(*pp_buffer) = (uint8_t *) desc_str_table[desc_index];
(*pp_buffer) = (uint8_t *) tusbd_string_desc_table[desc_index];
(*p_length) = **pp_buffer;
}else
{