Extract interface numbers into enums.
This commit is contained in:
parent
cd3aae87da
commit
9ef29ea229
125 changed files with 780 additions and 319 deletions
|
@ -44,7 +44,7 @@ USB_ClassInfo_MS_Device_t Disk_MS_Interface =
|
|||
{
|
||||
.Config =
|
||||
{
|
||||
.InterfaceNumber = 0,
|
||||
.InterfaceNumber = INTERFACE_ID_MassStorage,
|
||||
.DataINEndpoint =
|
||||
{
|
||||
.Address = MASS_STORAGE_IN_EPADDR,
|
||||
|
@ -72,7 +72,7 @@ USB_ClassInfo_HID_Device_t Generic_HID_Interface =
|
|||
{
|
||||
.Config =
|
||||
{
|
||||
.InterfaceNumber = 1,
|
||||
.InterfaceNumber = INTERFACE_ID_HID,
|
||||
.ReportINEndpoint =
|
||||
{
|
||||
.Address = GENERIC_IN_EPADDR,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue