From b7f398e14bb1f72e5122bca08f333780d42c1955 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 27 Jul 2019 20:29:49 -0400 Subject: [PATCH] refactoring --- firmware/hw_layer/serial_over_usb/usbcfg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/hw_layer/serial_over_usb/usbcfg.c b/firmware/hw_layer/serial_over_usb/usbcfg.c index 2c61007d21..7478374357 100644 --- a/firmware/hw_layer/serial_over_usb/usbcfg.c +++ b/firmware/hw_layer/serial_over_usb/usbcfg.c @@ -338,10 +338,10 @@ const USBConfig usbcfg = { * Serial over USB driver configuration. */ const SerialUSBConfig serusbcfg = { - &USBD1, - USBD1_DATA_REQUEST_EP, - USBD1_DATA_AVAILABLE_EP, - USBD1_INTERRUPT_REQUEST_EP + .usbp = &USBD1, + .bulk_in = USBD1_DATA_REQUEST_EP, + .bulk_out = USBD1_DATA_AVAILABLE_EP, + .int_in = USBD1_INTERRUPT_REQUEST_EP }; #endif /* EFI_USB_SERIAL */