mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #17245 from Ollrogge/pr/usbus/fix_usb_hid
usbus/hid: fix ep_out readyness
This commit is contained in:
commit
69dc79efe8
@ -138,6 +138,10 @@ static void _init(usbus_t *usbus, usbus_handler_t *handler)
|
||||
usbus_enable_endpoint(hid->ep_out);
|
||||
|
||||
usbus_add_interface(usbus, &hid->iface);
|
||||
|
||||
/* Wait for data from HOST */
|
||||
usbdev_ep_xmit(hid->ep_out->ep, hid->out_buf,
|
||||
CONFIG_USBUS_HID_INTERRUPT_EP_SIZE);
|
||||
}
|
||||
|
||||
static void _event_handler(usbus_t *usbus, usbus_handler_t *handler,
|
||||
|
Loading…
Reference in New Issue
Block a user