usb: webusb: Fix callback not called
Until PR #15818 is applied we need to use this solution to get callback called. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
79d2e31cff
commit
b364b841cc
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ static struct usb_ep_cfg_data webusb_ep_data[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Configuration of the CDC-ACM Device send to the USB Driver */
|
/* Configuration of the CDC-ACM Device send to the USB Driver */
|
||||||
static struct usb_cfg_data webusb_config = {
|
USBD_CFG_DATA_DEFINE(webusb) struct usb_cfg_data webusb_config = {
|
||||||
.usb_device_description = (u8_t *)&webusb_usb_description,
|
.usb_device_description = (u8_t *)&webusb_usb_description,
|
||||||
.cb_usb_status = webusb_dev_status_cb,
|
.cb_usb_status = webusb_dev_status_cb,
|
||||||
.interface = {
|
.interface = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue