add field to endpoint maxpacketsize (mult)
refractor hidh_open_subtask & hidh_keyboard_open add ATTR_PACKED_STRUCT(x) - TODO remove ugly pre_pack & post pack
This commit is contained in:
@@ -121,7 +121,7 @@ tusb_descriptor_endpoint_t const desc_ept_interrupt_out =
|
||||
};
|
||||
void verify_int_qhd(ehci_qhd_t *p_qhd, tusb_descriptor_endpoint_t const * desc_endpoint, uint8_t class_code)
|
||||
{
|
||||
verify_open_qhd(p_qhd, desc_endpoint->bEndpointAddress, desc_endpoint->wMaxPacketSize);
|
||||
verify_open_qhd(p_qhd, desc_endpoint->bEndpointAddress, desc_endpoint->wMaxPacketSize.size);
|
||||
|
||||
TEST_ASSERT_FALSE(p_qhd->head_list_flag);
|
||||
TEST_ASSERT_FALSE(p_qhd->data_toggle_control);
|
||||
|
||||
Reference in New Issue
Block a user