refractor dcd_pipe_control_write_zero_length to use dcd_pipe_control_write

This commit is contained in:
hathach
2013-06-11 16:30:06 +07:00
parent d55f9ecef1
commit 049a22f2cc
2 changed files with 9 additions and 7 deletions

View File

@@ -92,6 +92,9 @@ void std_get_descriptor(uint8_t coreid)
dcd_pipe_control_write(coreid, &app_tusb_desc_device, sizeof(tusb_descriptor_device_t));
break;
case TUSB_DESC_TYPE_CONFIGURATION:
break;
default:
return;
}