We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e232c3 commit 5f4288fCopy full SHA for 5f4288f
adafruit_usb_host_mouse/__init__.py
@@ -304,7 +304,7 @@ def release(self):
304
# was_attached is an empty list if no interfaces were detached from the kernel
305
if self.was_attached:
306
# the first element of the was_attached list is a list of detached interfaces
307
- for intf in self.was_attached[0]:
+ for intf in self.was_attached[0]:
308
if not self.device.is_kernel_driver_active(intf):
309
self.device.attach_kernel_driver(intf)
310
0 commit comments