Rename IfClass/IfSubClass/IfProtocol to Class/SubClass/Protocol, these

fields occur within an interface descriptor.
This commit is contained in:
Sebastian Zagrodzki
2017-04-09 18:44:32 +02:00
parent f91d53931a
commit 168b501d53
5 changed files with 21 additions and 21 deletions

View File

@@ -81,12 +81,12 @@ type InterfaceSetup struct {
Number uint8
// Alternate is the number of the alternate setting.
Alternate uint8
// IfClass is the USB-IF class code, as defined by the USB spec.
IfClass Class
// IfClass is the USB-IF subclass code, as defined by the USB spec.
IfSubClass Class
// IfProtocol is USB protocol code, as defined by the USB spe.c
IfProtocol Protocol
// Class is the USB-IF class code, as defined by the USB spec.
Class Class
// SubClass is the USB-IF subclass code, as defined by the USB spec.
SubClass Class
// Protocol is USB protocol code, as defined by the USB spe.c
Protocol Protocol
// Endpoints has the list of endpoints available on this interface with
// this alternate setting.
Endpoints []EndpointInfo