shorten descriptor type
This commit is contained in:
@@ -118,9 +118,9 @@ void test_dcd_init(void)
|
||||
|
||||
void test_dcd_configure_endpoint_in(void)
|
||||
{
|
||||
tusb_descriptor_endpoint_t const desc_endpoint =
|
||||
tusb_desc_endpoint_t const desc_endpoint =
|
||||
{
|
||||
.bLength = sizeof(tusb_descriptor_endpoint_t),
|
||||
.bLength = sizeof(tusb_desc_endpoint_t),
|
||||
.bDescriptorType = TUSB_DESC_TYPE_ENDPOINT,
|
||||
.bEndpointAddress = 0x83,
|
||||
.bmAttributes = { .xfer = TUSB_XFER_INTERRUPT },
|
||||
|
||||
@@ -65,7 +65,7 @@ void test_dcd_init_failed(void)
|
||||
TEST_ASSERT_EQUAL(TUSB_ERROR_FAILED, usbd_init() );
|
||||
}
|
||||
|
||||
tusb_error_t stub_hidd_init(uint8_t coreid, tusb_descriptor_interface_t const* p_interface_desc, uint16_t* p_length, int num_call)
|
||||
tusb_error_t stub_hidd_init(uint8_t coreid, tusb_desc_interface_t const* p_interface_desc, uint16_t* p_length, int num_call)
|
||||
{
|
||||
switch(num_call)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user