more constants

This commit is contained in:
Sebastian Zagrodzki
2017-03-27 22:29:24 +02:00
parent b70848cf73
commit 36241e869e
7 changed files with 27 additions and 27 deletions

View File

@@ -34,7 +34,7 @@ func (e EndpointInfo) Number() int {
}
func (e EndpointInfo) TransferType() TransferType {
return TransferType(e.Attributes) & TRANSFER_TYPE_MASK
return TransferType(e.Attributes) & TransferTypeMask
}
func (e EndpointInfo) Direction() EndpointDirection {