iota used on the second line of const block starts from 1, not from 0...
This commit is contained in:
@@ -179,13 +179,13 @@ const (
|
|||||||
// Note: USB3.0 defines usage type for both isochronous and interrupt
|
// Note: USB3.0 defines usage type for both isochronous and interrupt
|
||||||
// endpoints, with the same constants representing different usage types.
|
// endpoints, with the same constants representing different usage types.
|
||||||
// UsageType constants do not correspond to bmAttribute values.
|
// UsageType constants do not correspond to bmAttribute values.
|
||||||
usageTypeMask = 0x30
|
|
||||||
UsageTypeUndefined UsageType = iota
|
UsageTypeUndefined UsageType = iota
|
||||||
IsoUsageTypeData
|
IsoUsageTypeData
|
||||||
IsoUsageTypeFeedback
|
IsoUsageTypeFeedback
|
||||||
IsoUsageTypeImplicit
|
IsoUsageTypeImplicit
|
||||||
InterruptUsageTypePeriodic
|
InterruptUsageTypePeriodic
|
||||||
InterruptUsageTypeNotification
|
InterruptUsageTypeNotification
|
||||||
|
usageTypeMask = 0x30
|
||||||
)
|
)
|
||||||
|
|
||||||
var usageTypeDescription = map[UsageType]string{
|
var usageTypeDescription = map[UsageType]string{
|
||||||
|
Reference in New Issue
Block a user