This commit is contained in:
Kyle Lemons
2012-03-26 22:51:47 -07:00
parent 86ebf94158
commit 2da2ce1e17
5 changed files with 12 additions and 11 deletions

View File

@@ -32,9 +32,9 @@ func (e Endpoint) Direction() EndpointDirection {
func (e Endpoint) String() string {
return fmt.Sprintf("Endpoint %d %-3s %s - %s %s",
e.Number(), e.Direction(),
TransferType(e.Attributes) & TRANSFER_TYPE_MASK,
IsoSyncType(e.Attributes) & ISO_SYNC_TYPE_MASK,
IsoUsageType(e.Attributes) & ISO_USAGE_TYPE_MASK,
TransferType(e.Attributes)&TRANSFER_TYPE_MASK,
IsoSyncType(e.Attributes)&ISO_SYNC_TYPE_MASK,
IsoUsageType(e.Attributes)&ISO_USAGE_TYPE_MASK,
)
}