EndpointInfo tests

This commit is contained in:
Sebastian Zagrodzki
2017-03-10 08:48:21 -05:00
parent a221bef905
commit 389ae4e2b3
2 changed files with 33 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ func (e EndpointInfo) Direction() EndpointDirection {
}
func (e EndpointInfo) String() string {
return fmt.Sprintf("Endpoint %d %-3s %s - %s %s [%d %d]",
return fmt.Sprintf("Endpoint #%d %-3s %s - %s %s [%d %d]",
e.Number(), e.Direction(), e.TransferType(),
IsoSyncType(e.Attributes)&ISO_SYNC_TYPE_MASK,
IsoUsageType(e.Attributes)&ISO_USAGE_TYPE_MASK,