refactoring
This commit is contained in:
parent
810916fa34
commit
b7f398e14b
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue