replace uint32 in MaxPacketSize with int

This commit is contained in:
Sebastian Zagrodzki
2017-04-26 22:27:12 +02:00
parent 22ff844a3d
commit 93355e7490
4 changed files with 9 additions and 10 deletions

View File

@@ -33,7 +33,7 @@ type EndpointInfo struct {
// Direction defines whether the data is flowing IN or OUT from the host perspective.
Direction EndpointDirection
// MaxPacketSize is the maximum USB packet size for a single frame/microframe.
MaxPacketSize uint32
MaxPacketSize int
// TransferType defines the endpoint type - bulk, interrupt, isochronous.
TransferType TransferType
// PollInterval is the maximum time between transfers for interrupt and isochronous transfer,