Add Device.OutEndpoint, simplify endpoint test.

This commit is contained in:
Sebastian Zagrodzki
2017-04-10 01:11:38 +02:00
parent 57b10f0dd3
commit b1dcaa1195
3 changed files with 88 additions and 72 deletions

View File

@@ -110,7 +110,7 @@ func newEndpoint(h *libusbDevHandle, s InterfaceSetting, e EndpointInfo) *endpoi
}
}
// OutEndpoint represents an IN endpoint open for transfer.
// InEndpoint represents an IN endpoint open for transfer.
type InEndpoint struct {
*endpoint
timeout time.Duration