Commit 42d59ff5 authored by Johann Fischer's avatar Johann Fischer Committed by Carles Cufí

usb: cdc_acm: rebase fixup

Rebase fixup for the changes introdused in the
commit 42c1f75f
("usb: Rename usb_cfg_data to usb_class_data.")
Signed-off-by: default avatarJohann Fischer <j.fischer@phytec.de>
parent 4a853ef5
......@@ -449,7 +449,7 @@ static void cdc_acm_do_cb(struct cdc_acm_dev_data_t *dev_data,
break;
case USB_DC_RESUME:
if (dev_data->usb_status == USB_DC_SUSPEND) {
cdc_acm_read_cb(cfg->endpoint[ACM_OUT_EP_IDX].ep_addr,
cdc_acm_read_cb(class_data->endpoints[ACM_OUT_EP_IDX].ep_addr,
0, dev_data);
dev_data->usb_status = USB_DC_CONFIGURED;
LOG_INF("Define resumed");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment