Merge pull request #4 from pjetherton/patch-1

Fixes bug claiming interface
master
Martchus 2 years ago committed by GitHub
commit eb9003c9b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      blackwidowcontrol.py

@ -51,8 +51,7 @@ class BlackWidow(object):
try:
if self.device.is_kernel_driver_active(USB_INTERFACE):
LOG("Kernel driver active; detaching it\n")
self.device.detach_kernel_driver(USB_INTERFACE)
self.device.detach_kernel_driver(USB_INTERFACE)
self.kernel_driver_detached = True
LOG("Claiming interface\n")

Loading…
Cancel
Save