Extract interface numbers into enums.
This commit is contained in:
parent
cd3aae87da
commit
9ef29ea229
125 changed files with 780 additions and 319 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue