Merge branch 'adafruit:main' into main

This commit is contained in:
Wai Weng 2021-12-06 22:55:27 +08:00 committed by GitHub
commit ef2c6e41fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -17,7 +17,6 @@ if DEBUG:
def dprint(*v): def dprint(*v):
print(*v) print(*v)
else: else:
def dprint(*v): def dprint(*v):

View File

@ -83,7 +83,6 @@ if "length" in inspect.getfullargspec(usb.util.get_string).args:
def get_string(dev, index): def get_string(dev, index):
return usb.util.get_string(dev, 255, index) return usb.util.get_string(dev, 255, index)
else: else:
# PyUSB 1.0.0.b2 dropped the length argument # PyUSB 1.0.0.b2 dropped the length argument
def get_string(dev, index): def get_string(dev, index):