mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-29 10:20:57 +00:00
tested with hid
This commit is contained in:
parent
3ef6e33533
commit
8614dcece7
@ -160,6 +160,8 @@ void hidd_reset(uint8_t rhport)
|
||||
|
||||
bool hidd_open(uint8_t rhport, tusb_desc_interface_t const * desc_itf, uint16_t *p_len)
|
||||
{
|
||||
TU_VERIFY(desc_itf->bInterfaceClass == TUSB_CLASS_HID);
|
||||
|
||||
uint8_t const *p_desc = (uint8_t const *) desc_itf;
|
||||
|
||||
// Find available interface
|
||||
|
Loading…
x
Reference in New Issue
Block a user