mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
usbus/hid: fix ep_out readyness
This commit is contained in:
parent
9e8d718a43
commit
6f9a21503b
@ -138,6 +138,10 @@ static void _init(usbus_t *usbus, usbus_handler_t *handler)
|
|||||||
usbus_enable_endpoint(hid->ep_out);
|
usbus_enable_endpoint(hid->ep_out);
|
||||||
|
|
||||||
usbus_add_interface(usbus, &hid->iface);
|
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,
|
static void _event_handler(usbus_t *usbus, usbus_handler_t *handler,
|
||||||
|
Loading…
Reference in New Issue
Block a user