Remove "libusb" from the comments.

This commit is contained in:
Sebastian Zagrodzki
2017-05-06 00:31:04 +02:00
parent 9623c1ba8d
commit 1c9a11b1ce
3 changed files with 15 additions and 10 deletions

View File

@@ -172,8 +172,8 @@ func (d *Device) GetStringDescriptor(descIndex int) (string, error) {
return libusb.getStringDesc(d.handle, descIndex)
}
// SetAutoDetach enables/disables libusb's automatic kernel driver detachment.
// When autodetach is enabled libusb will automatically detach the kernel driver
// SetAutoDetach enables/disables automatic kernel driver detachment.
// When autodetach is enabled gousb will automatically detach the kernel driver
// on the interface and reattach it when releasing the interface.
// Automatic kernel driver detachment is disabled on newly opened device handles by default.
func (d *Device) SetAutoDetach(autodetach bool) error {