refactoring

This commit is contained in:
rusefi 2019-07-27 20:29:49 -04:00
parent 2f3bb06079
commit b2f9b2cc59
1 changed files with 4 additions and 4 deletions

View File

@ -338,10 +338,10 @@ const USBConfig usbcfg = {
* Serial over USB driver configuration. * Serial over USB driver configuration.
*/ */
const SerialUSBConfig serusbcfg = { const SerialUSBConfig serusbcfg = {
&USBD1, .usbp = &USBD1,
USBD1_DATA_REQUEST_EP, .bulk_in = USBD1_DATA_REQUEST_EP,
USBD1_DATA_AVAILABLE_EP, .bulk_out = USBD1_DATA_AVAILABLE_EP,
USBD1_INTERRUPT_REQUEST_EP .int_in = USBD1_INTERRUPT_REQUEST_EP
}; };
#endif /* EFI_USB_SERIAL */ #endif /* EFI_USB_SERIAL */