Skip to content

Conversation

@pantsman0
Copy link

Adds extra(&self) methods to configuration, endpoint and interface descriptors.
Adds port_number(&self) method to devices.

Access to the extra data from libusb is necessary in order to identify which devices have functional interfaces that require drivers (e.g. DFU devices).

Adds `extra(&self)` methods to configuration, endpoint and interface descriptors.
Adds `port_number(&self` method to devices.

Signed-off-by: Philip Woolford <woolford.philip@gmail.com>
Signed-off-by: Philip Woolford <woolford.philip@gmail.com>
This change implements changes recommended by `cargo clippy`.

Signed-off-by: Philip Woolford <woolford.philip@gmail.com>
Interface::remove expects a `usize` and an `&usize` was passed.
Signed-off-by: Philip Woolford <woolford.philip@gmail.com>
Update `bit-set` from 0.2 to 0.5.

Signed-off-by: Philip Woolford <woolford.philip@gmail.com>
Using `?` isn't available on 1.3 (released in 2015).

Signed-off-by: Philip Woolford <woolford.philip@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant