moar comments. Add a done callback to DefaultInterface return values.

This commit is contained in:
Sebastian Zagrodzki
2017-05-06 02:30:16 +02:00
parent c6b9a04e9f
commit 86c8e27edf
5 changed files with 26 additions and 8 deletions

View File

@@ -43,6 +43,8 @@ func (c ConfigInfo) String() string {
// Config represents a USB device set to use a particular configuration.
// Only one Config of a particular device can be used at any one time.
// To access device endpoints, claim an interface and it's alternate
// setting number through a call to Interface().
type Config struct {
Info ConfigInfo