Extract interface numbers into enums.
This commit is contained in:
@@ -45,7 +45,7 @@ USB_ClassInfo_CDC_Device_t VirtualSerial1_CDC_Interface =
|
||||
{
|
||||
.Config =
|
||||
{
|
||||
.ControlInterfaceNumber = 0,
|
||||
.ControlInterfaceNumber = INTERFACE_ID_CDC1_CCI,
|
||||
.DataINEndpoint =
|
||||
{
|
||||
.Address = CDC1_TX_EPADDR,
|
||||
@@ -76,7 +76,7 @@ USB_ClassInfo_CDC_Device_t VirtualSerial2_CDC_Interface =
|
||||
{
|
||||
.Config =
|
||||
{
|
||||
.ControlInterfaceNumber = 2,
|
||||
.ControlInterfaceNumber = INTERFACE_ID_CDC2_CCI,
|
||||
.DataINEndpoint =
|
||||
{
|
||||
.Address = CDC2_TX_EPADDR,
|
||||
|
||||
Reference in New Issue
Block a user